Overview

JSON validation class to determine syntactic correctness prior to decoding.

A port of JSON_checker.c designed to quickly scan a block of JSON text and determine if it is syntactically correct.

Learn more about Pushdown automatons at » http://en.wikipedia.org/wiki/Pushdown_automaton

Package

This class is part of the Solar_Json package.

Inheritance:

Configuration Keys

None.

Constants

Public Properties

The Solar_Json_Checker class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Json_Checker class.

You can also view the list of all public, protected, and private methods.

__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.



Local