Object documentation: JSONGenerator B4A Tutorial Android JSON tutorial - Erel    Feb 7, 2021   (13 reactions)   tags: Json in a similar way. We create a Map or a List that holds the values and then using JSONGenerator we... JSONGenerator As JSONGenerator JSONGenerator.Initialize2(Data) Msgbox(JSONGenerator.ToPrettyString(2), "") JSONGenerator can be initialized with a map or a list. Converting the data to... B4A Question JSONGenerator.To(Pretty)String sequence different from map? - KMatle    Sep 9, 2014 I mentioned that the sequence of the generated ToString or ToPrettyString is different from the key/values in the map used.
Examples
Map:
key1, value1
key2, value2
key3, value3
...
...
keyn, valuen
After JSONGenerator.Initialize(MyMap) & "ToString" or "ToPrettyString"... B4J Question Can Escaping be disabled in JSONGenerator ? - Erel (first post)    Apr 6, 2020   (2 reactions) Note that the escaped output is valid. Which problem are you trying to solve?... B4J Question JSONGenerator - madru (first post)    Apr 3, 2020   (5 reactions)
Nice illustrations, how did you make them?
https://json.bloople.net... B4A Question JsonGenerator Not escaping raw data - FrostCodes (first post)    Mar 4, 2020 Hi @Erel thanks , actually my JSON data contained unprintable characters and this was the cause of the issue... B4J Question JSONGenerator issue - Multiverse app (first post)    Jan 29, 2020   (1 reaction) Thanks for the follow-through.
or some variant of datetoString()
Nah, it accepts any string (actua... B4A Question JSonGenerator - COBRASoft    Jan 8, 2012 Hi,
I need the JSonGenerator to produce JSon like shown below. How can I achieve these examples with list/map/type? I sometimes need 5 or 6 variables within a record, so I though a type would... B4A Question help with jsongenerator - apty (first post)    Apr 23, 2018 Thanks a lot. It works fine... B4A Tutorial Convert collections to json and vice versa - Erel    Mar 27, 2022   (30 reactions) 'equivalent to: Dim jg As JsonGenerator jg.Initialize(m) Dim s As String = jg.ToPrettyString(4... B4J Question JSONGenerator map instead of list, not the ouput I want - Erel (first post)    Apr 17, 2016 I realized I can use Substring2 to get what I want
Not the correct solution...
JSONGenerator.Initialize2 takes a list.... Page: 1   2   3   4   5   6   7   |