Skip to content

danielhrds/json-parser-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A JSON parser made by implementing the content of this blog, made in python, in golang. For learning purposes.

Input

func main() {
	golang_map := from_string(`{"foo": 1, "bar":[1, "teste", 3, null, true, false, "true", "false", "null"]}`)
	fmt.Println(golang_map)
	fmt.Println(golang_map["bar"])
}

Output

map[bar:[1 teste 3 <nil> true false true false null] foo:1]
[1 teste 3 <nil> true false true false null]

About

Small JSON Parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages