Skip to content

tuananhlai/cc-json-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Challenge JSON Parser

A minimal JSON Parser written in Go.

Examples

Read from STDIN.

$ echo '{
  "key1": true,
  "key2": false,
  "key3": null,
  "key4": "value",
  "key5": 101
}' | go run main.go
JSON is valid. ✅

Read from the given file.

$ go run main.go json/testdata/fail31.json
error tokenizing input: invalid number found at position 1: no digit found after exponent
exit status 1

About

Minimal JSON Parser built with Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages