Skip to content

Commit

Permalink
add README.md file
Browse files Browse the repository at this point in the history
Signed-off-by: mario <[email protected]>
  • Loading branch information
MarioBassem committed Nov 11, 2023
1 parent 36a32c2 commit 4041e6c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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{}`

0 comments on commit 4041e6c

Please sign in to comment.