public class ComponentLocationJsonSerializer extends Object implements com.google.gson.JsonSerializer<org.mule.runtime.api.component.location.ComponentLocation>
JsonSerializer and it can be registered to Gson as a Type Adapter in order to deserialize
ComponentLocations| Constructor and Description |
|---|
ComponentLocationJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
serialize(org.mule.runtime.api.component.location.ComponentLocation location,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
protected com.google.gson.JsonObject |
serializeLocationPart(Type typeOfSrc,
com.google.gson.JsonSerializationContext context,
org.mule.runtime.api.component.location.LocationPart locationPart) |
public com.google.gson.JsonElement serialize(org.mule.runtime.api.component.location.ComponentLocation location,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<org.mule.runtime.api.component.location.ComponentLocation>protected com.google.gson.JsonObject serializeLocationPart(Type typeOfSrc, com.google.gson.JsonSerializationContext context, org.mule.runtime.api.component.location.LocationPart locationPart)
Copyright © 2022 MuleSoft, Inc.. All rights reserved.