@ProviderType
public interface ResultBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
toJSON(Command cmd,
Result result,
org.apache.sling.api.resource.ValueMap config)
Turns the Result combination into a JSON object by way of ResultSerializers.
|
com.google.gson.JsonObject toJSON(Command cmd, Result result, org.apache.sling.api.resource.ValueMap config)
cmd - the Commandresult - the Resultconfig - configuration used by ResultSerializer implementationsJSONExceptionCopyright © 2013–2020 Adobe. All rights reserved.