|
Previous Class |
Solar_Json_Checker |
Next Page |
Solar_Json_Checker
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
Catalog
This class is part of the Solar_Json package.
Inheritance:
- Solar_Base
- Solar_Json_Checker
Constants
- S_ERR
- S_SPA
- S_WSP
- S_LBE
- S_RBE
- S_LBT
- S_RBT
- S_COL
- S_COM
- S_QUO
- S_BAC
- S_SLA
- S_PLU
- S_MIN
- S_DOT
- S_ZER
- S_DIG
- S__A_
- S__B_
- S__C_
- S__D_
- S__E_
- S__F_
- S__L_
- S__N_
- S__R_
- S__S_
- S__T_
- S__U_
- S_A_F
- S_E
- S_ETC
- MODE_DONE
- MODE_KEY
- MODE_OBJECT
- MODE_ARRAY
- MAX_DEPTH
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().
apiVersion()- Reports the API version for this class.
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.