interface JsonDecoderClientInterface implements ScopedClientInterface

Methods

getApi()

Returns a string representation of the API currently in use.

getSpaceId()

Returns the ID of the space currently in use.

getEnvironmentId()

Returns the ID of the environment currently in use.

ResourceInterface|ResourceArray
parseJson(string $json)

Parse a JSON string.

Details

in ScopedClientInterface at line 19
getApi()

Returns a string representation of the API currently in use.

in ScopedClientInterface at line 24
getSpaceId()

Returns the ID of the space currently in use.

in ScopedClientInterface at line 29
getEnvironmentId()

Returns the ID of the environment currently in use.

at line 26
ResourceInterface|ResourceArray parseJson(string $json)

Parse a JSON string.

Parameters

string $json

Return Value

ResourceInterface|ResourceArray

Exceptions

InvalidArgumentException When attempting to parse JSON belonging to a different space or environment