dogescript / DSON

Description and website of the Doge Serialized Object Notation, a data-interchange textformat that is easy to read and write for Shiba Inu dogs.
29 stars 14 forks source link

New DSON implementation in Go #10

Closed gabstv closed 6 years ago

gabstv commented 10 years ago

https://github.com/gabstv/dson2json

dson := `such "foo" is so no and yes many wow`
in0 := bytes.NewBufferString(dson)
out0 := new(bytes.Buffer)
dson2json.Convert(in0, out0)
fmt.Println(out0.String()) // prints {"foo":[false,true]}

I could add as a pull request too if it's easier.