Methods

All methods in the Solar_Json_Checker class.

Public

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

isValid()

The isValid method takes a UTF-16 encoded string and determines if it is a syntactically correct JSON text.

locale()

Looks up class-specific locale strings based on a key.

Protected

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_mapAscii()

Map the 128 ASCII characters into the 32 character classes.

_pop()

Pop the stack, assuring that the current mode matches the expectation.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

Post-construction tasks to complete object construction.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

_push()

Push a mode onto the stack.

_setStateTransitionTable()

The state transition table takes the current state and the current symbol, and returns either a new state or an action.

Private

None.



Local