FAQ
That doesn't seem to be correct. 'value's can also be top-level in a json,
such as `"test"` or `false`
On Thursday, February 12, 2015 at 7:50:30 AM UTC+2, Tamás Gulácsi wrote:

Json should start with { or [, and end with the pair of it.
If that is enough, you can use bufio.Buffer, and its Peek method to check
the beginning.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 6 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedFeb 12, '15 at 3:47a
activeFeb 13, '15 at 12:14p
posts6
users5
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase