Difference between revisions of "fcl-json"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "fcl-json - is JSON (Javascript Object Notation) implementation Package List")
 
(Warning about getelement access violations)
Line 1: Line 1:
 
fcl-json - is [[JSON]] (Javascript Object Notation) implementation  
 
fcl-json - is [[JSON]] (Javascript Object Notation) implementation  
 +
 +
== Notes ==
 +
Contains the fpjson JSON manipulation unit.
 +
 +
Note: In FPJSON, accessing e.g. SomeJSONObject.Integers['price'] may give a SIGSEGV/Access Violation if that integer variable does not exist. This is apparently intentional, see [http://bugs.freepascal.org/view.php?id=22273]
 +
You'd hav to use the .Find method (not available in FPC 2.6.0) to first check if the element/variable (price in this example) exists.
  
 
[[Package List]]
 
[[Package List]]

Revision as of 09:46, 12 March 2013

fcl-json - is JSON (Javascript Object Notation) implementation

Notes

Contains the fpjson JSON manipulation unit.

Note: In FPJSON, accessing e.g. SomeJSONObject.Integers['price'] may give a SIGSEGV/Access Violation if that integer variable does not exist. This is apparently intentional, see [1] You'd hav to use the .Find method (not available in FPC 2.6.0) to first check if the element/variable (price in this example) exists.

Package List