Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 1.56 KB

index.md

File metadata and controls

51 lines (44 loc) · 1.56 KB

Index

include
  slothjson.h
  slothjson.cpp
  rapidjson
generator
  rapidjsongen.py
src
  sample_test.json
  sample_test.h
  sample_test.cpp
  perf_test.json
  perf_test.h
  perf_test.cpp
  main.cpp
vs2010
Makefile

  • include/rapidjson: the source code of rapidjson-1.1.0. If you desire the latest version of rapidjson, overwrite this folder directly .
  • include/slothjson.h & include/slothjson.cpp: the library of slothjson, which defines the JSON serialize/deserialize interfaces for these types:
    • bool
    • int8_t
    • uint8_t
    • int16_t
    • uint16_t
    • int32_t
    • uint32_t
    • int64_t
    • uint64_t
    • float
    • double
    • std::string
    • std::vector <T>
    • std::map <std::string, T>
  • generator/slothjson.py: code generater, which can be used to generate the JSON serialize/deserialize code for user-defined types.
  • src/sample_test.json & src/perf_test.json: schema on unit test and performance test;
    src/sample_test.h & src/sample_test.cpp: generated by generator/slothjson.py using src/sample_test.json as input;
    src/perf_test.h & src/perf_test.cpp: generated by generator/slothjson.py using src/perf_test.json as input.
  • src/main.cpp: including all tests for slothjson.
  • vs2010: project files on windows for slothjson;
    Makefile: project file on linux for slothjson.

Then, if you are interested in the design of slothjson, please click here.

Previous

Home