Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Rjerk/rjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple json parser for practice.

Compile && Run

Build project.

make

Read json from file.

./rjson test.json

Parser Support

literal

  • null
  • false
  • true

string

  • any unicode character
  • escape character " / \t , etc.
  • \u 4-hex digits

number

  • regex: -?(?:0|[1-9]\d*)(?:.\d+)?(?:[eE][+-]?\d+)?

object

  • {string : value}

array

  • [value ... ]

json generator

  • generator json text

Reference

https://github.com/miloyip/json-tutorial

Releases

No releases published

Packages

No packages published