interface JsonDecoderClientInterface implements ScopedClientInterface

Methods

string
getApi()

Returns a string representation of the API currently in use.

string
getSpaceId()

Returns the ID of the space currently in use.

string
getEnvironmentId()

Returns the ID of the environment currently in use.

ResourceInterface|ResourceArray
parseJson(string $json)

Parse a JSON string.

Details

in ScopedClientInterface at line 21
string getApi()

Returns a string representation of the API currently in use.

Return Value

string

in ScopedClientInterface at line 28
string getSpaceId()

Returns the ID of the space currently in use.

Return Value

string

in ScopedClientInterface at line 35
string getEnvironmentId()

Returns the ID of the environment currently in use.

Return Value

string

at line 28
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