[r8]: / trunk / json / json-pac / Notes / svnobj  Maximize  Restore  History

Download this file

5 lines (5 with data), 5.6 kB

Gx_lð!0…jüo'ÀŽÿý¡€-ìSystem.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument	L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagTextÒ(*=======================================================================================================
NotesVAuthor: Tim Van Meppelen, Pro Electric Inc.(timv@proelectric.com.current version 1.0.0.26Last updated: March 6, 2019BUGSB-STRUCT_TO_JSON/JSONVAR.FB_Init()„	-doesn't add the closing ] if it's the last item in the structure 	-doesn't add the closing } if a nested object is the last item in the structureö	-both of the above for the same reason--closing objects is done by the following object, see JSONVAR.FB_Init() line 70-115î	-what about setting EndObject to TRUE by default, and having the following object set it to FALSE if not a new object?š-all arrays must be 1 based, haven't investigated further with 0 based arrays -STRUCT_TO_JSON Ò	-Format input is partially implemented, needs more testing with various different strings and structures j	-should use spaces for indentation rather than tabs?!.-JSON_TO_STRUCT.Value()"	-line 36: what happens if a value string is longer than MAX_VALUE_SIZE?#	$NEW IDEAS% -STRUCT_TO_JSON	&ˆ	-create variable length arrays on the JSON side if values are null?'-speed up(æ-JSON_STRINGIFY function that can be called multiple times to create a JSON string from key and value string inputs)–	-would create JSON on the fly without having to define a JSONVAR structure*~	-could be useful for small strings, HTTP server responses, etc+þ-Schneider SoMachine does not support the __NEW operator, but eventually this would be a better way to implement JSON_TO_STRUCT,VERSION HISTORY-h-should start making better notes on version history.Ô========================================================================================================*)/Interface0L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}1PROGRAM Notes2VAR3END_VAR4"UniqueIdGenerator5746POULevel7L{8e575c5b-1d37-49c6-941b-5c0ec7874787}8Standard9 ChildObjectGuids:8System.Collections.ArrayList;,AddAttributeSubsequent<boolÐÐ-ÐÐ	E
+ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­HÚÐ-ÐÐ
­IÚÐ-ÐÐ
­	ÚÐ-ÐÐ
­
ÚÐ-ÐÐ
­-ÚÐ-ÐÐ
­9ÚÐ-ÐÐ
­:ÚÐ-ÐÐ
­.ÚÐ-ÐÐ
­?ÚÐ-ÐÐ
­/ÚÐ-ÐÐ
­0ÚÐ-ÐÐ
­;ÚÐ-ÐÐ
­7ÚÐ-ÐÐ
­8ÚÐ- ÐÐ
­1ÚÐ-!ÐÐ
­<ÚÐ-"ÐÐ
­@ÚÐ-ÐÐ
­AÚÐ-#ÐÐ
­3ÚÐ-#ÐÐ
­!ÚÐ-$ÐÐ
­=ÚÐ-%ÐÐ
­>ÚÐ-&ÐÐ
­CÚÐ-'ÐÐ
­DÚÐ-(ÐÐ
­EÚÐ-)ÐÐ
­FÚÐ-*ÐÐ
­GÚÐ-+ÐÐ
­#ÚÐ-ÐÐ
­$ÚÐ-ÐÐ
­JÚÐ-,ÐÐ
­%ÚÐ--ÐÐ
­&ÚÐ-ÐÐ
­'ÚÐ-ÐÐ
­(ÚÐ-ÐÐ
­)ÚÐ-ÐÐ
­*ÚÐ-ÐÐ
­+ÚÐ-ÐÐ
­,ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-.Ð/0Ð	E
ÐÐ
­ÚÐ-1ÐÐ
­ÚÐ-2ÐÐ
­ÚÐ-3ÐÐ
­ÚÐ-Ð4-5Ð67-89:Ð;<­