Yet another new fast json/xml parser library

152 views
Skip to first unread message

Tamer

unread,
Jun 11, 2019, 8:47:44 AM6/11/19
to golang-nuts
Hello everyone,

I have developed a new json parser library. It is similar jstream library but it allows stream over selected json member instead of depth. It also allow skipping json members for less memory usage.


I have also refactored previously developed xml parser with similar approach.


Please let know if you have suggestions/feedbacks.

Cheers
Tamer

roger peppe

unread,
Jun 12, 2019, 2:19:40 PM6/12/19
to Tamer, golang-nuts
I haven't looked further than the godoc, but a couple of initial suggestions:

- the word JSON should always be spelled in all-caps if the first letter is J, so you would be better with NewJSONParser.

- you should almost certainly return a chan, not a pointer to chan.


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/22eef643-66bf-451e-ba84-1eb968682aea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tamer Gür

unread,
Jun 14, 2019, 4:03:40 PM6/14/19
to roger peppe, golang-nuts
Thanks Roger. I applied your suggestions.
Reply all
Reply to author
Forward
0 new messages