Difference between revisions of "fcl-json"

From Free Pascal wiki
Jump to navigationJump to search
(Warning about getelement access violations)
Line 8: Line 8:
  
 
[[Package List]]
 
[[Package List]]
 +
 +
[[Category:Packages]]

Revision as of 08:42, 30 April 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