JSON Objects and Arrays

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
the.weavster
Addict
Addict
Posts: 1581
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

JSON Objects and Arrays

Post by the.weavster »

A way of grabbing a sub object or array as either a top level JSON object ( so it can be used with ComposeJSON ) or string.

Perhaps a variant of CatchJSON:

Code: Select all

Result = CatchJSON(#PB_Any, SubObjectID, 0 , #PB_JSON_Child)
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: JSON Objects and Arrays

Post by Quin »

+1
Post Reply