Is the `subStruct` feature working as expected?

You can try testing on the SmartyStreets.json
<https://github.com/go-jsonfile/jsonfiddle/blob/master/test/SmartyStreets.json>
file.
Thanks.

On Sun, Jul 16, 2017 at 8:15 PM, Aditya Mukerjee <d...@chimeracoder.net>
wrote:

> Hi Tong,
>
> Glad to see you're finding gojson useful. Let us know if you have
> suggestions; if there are improvements which would be helpful for people in
> general, we'd be happy to merge them upstream.
>
>
> On Sunday, July 16, 2017 at 10:28:09 AM UTC-4, Tong Sun wrote:
>>
>> Hi,
>>
>> I've started to improve the tools that generates go struct definitions
>> from json or yaml documents,
>> https://github.com/go-jsonfile/gojson#cli-update:
>>
>> Using gojson is now deprecated. You can still install and use it, but
>> better use jsonfiddle j2s
>> <https://github.com/go-jsonfile/jsonfiddle#-jsonfiddle-j2s> instead,
>> because all the improvements will be happening there. Currently the
>> advantages of jsonfiddle j2s over gojson are:
>>
>>
>>    - No longer uses the dummy Foo as the default for the name of the
>>       struct now, but use the input file name to automatic set the struct 
>> name
>>       instead, yet it can be overridden from command line (by --name). Check
>>       the details here
>>       
>> <https://github.com/go-jsonfile/jsonfiddle/blob/0.2.0/cmdJ2s.go#L41-L44>
>>       .
>>       - Internally, much more code consolidation and simplification
>>       (e.g., input/output file handling) have been done under the hood, so 
>> the
>>       hand-edited code has been reduced from over a hundred (132) to just
>>       several lines
>>       
>> <https://github.com/go-jsonfile/jsonfiddle/blob/0.2.0/cmdJ2s.go#L37-L49>
>>       .
>>
>> Much more enhancements will be taken place, check out details here
>> <https://github.com/go-jsonfile/gojson/projects/1>.
>>
>>
>>
>> See also, https://github.com/go-jsonfile/jsonfiddle#credits,
>>
>> Credits
>>
>>
>>    - Ladicle/gojson <https://github.com/Ladicle/gojson> forked source
>>       for JSON to struct
>>       - ChimeraCoder/gojson <https://github.com/ChimeraCoder/gojson> the
>>       original source of Ladicle/gojson
>>       <https://github.com/Ladicle/gojson>.
>>
>>
>> All patches welcome.
>>
>> Thanks
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/golang-nuts/XfVlTsWx2-Q/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to