Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 369 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 369 Bytes

JSON Parser

This is a json parser package. I build it just for learning purposes.

Only exported function is Parse(b []byte). It parses json text and returns a map[string]interface{} and an error if any.

  • All numbers are treated as float64 numbers.
  • Arrays are fed into a list of interafces []interface{}
  • Objects are fed into a map[string]interface{}