Recent

Author Topic: JSON Without known structure (sans structures connues)  (Read 150 times)

essam eddine adib

  • New member
  • *
  • Posts: 8
JSON Without known structure (sans structures connues)
« on: September 14, 2019, 01:38:45 pm »
Hi
is There any way to read JSON file with unknown structure like module livred with lazarus (jsonviewer) but in simple code
 thanks for help

Bonjour,

y a t'il un moyen de lire un jSON sans connaitre sa structure, cad avoir module qui lit plusieurs JSON comme celui qui est livré avec lazarus mais en plus simple

merci pour votre aide
« Last Edit: September 14, 2019, 01:49:18 pm by essam eddine adib »

Thaddy

  • Hero Member
  • *****
  • Posts: 8681
Re: JSON Without known structure (sans structures connues)
« Reply #1 on: September 14, 2019, 02:07:40 pm »
Check out the examples in the fcl-json package. The simpledemo is a good place to start. The parsedemo in the same directory will parse any json you throw at it.
« Last Edit: September 14, 2019, 02:34:27 pm by Thaddy »
Most people that want to use threading should learn to patch their jeans first: use a needle.