Skip to content
Sections
>> Trisquel >> Paket >> nabia >> devel >> golang-github-flynn-json5-dev
nabia  ] [  aramo  ]
[ Källkod: golang-github-flynn-json5  ]

Paket: golang-github-flynn-json5-dev (0.0~git20160717.7620272-2)

Go JSON5 decoder package based on encoding/json

This is a Go package that implements decoding of JSON5 values. It provides various functions like Unmarshal, NewDecoder, Buffered, Decode, UseNumber, Error, Float64, Int64, String, UnmarshalJSON. The description of the various functions it supports is as following

Unmarshal - Itparses the JSON-encoded data and stores the result in the value pointed to by v. Decoder - Itreads and decodes JSON values from an input stream. NewDecoder - Itreturns a new decoder that reads from r. Buffered - It returns a reader of the data remaining in the Decoder's buffer. The reader is valid until the next call to Decode. Decode - Itreads the next JSON-encoded value from its input and stores it in the value pointed to by v. UseNumber - Itcauses the Decoder to unmarshal a number into an interface{} as a Number instead of as a float64. Float64 - Itreturns the number as a float64. Int64 - Itreturns the number as an int64. String - Itreturns the literal text of the number. UnmarshalJSON - It sets *m to a copy of data.

Andra paket besläktade med golang-github-flynn-json5-dev

  • beror
  • rekommenderar
  • föreslår

Hämta golang-github-flynn-json5-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 38,9 kbyte266 kbyte [filförteckning]