Riyyi
|
3e69abdfa0
|
Util: Implement copy-and-swap idiom and the Rule of Five in Value
|
2 years ago |
Riyyi
|
a1bb1b93c9
|
Test: Hide JSON stderr output
|
2 years ago |
Riyyi
|
7c1f95e850
|
Util: Prevent unnecessary copy assignment calls
|
2 years ago |
Riyyi
|
0841e49b46
|
Util: Add user-defined string literal for Json::Value
|
2 years ago |
Riyyi
|
3ea87a1d28
|
Util: Print Json error messages to stderr
|
2 years ago |
Riyyi
|
4ea1242247
|
Manager: Switch to own JSON parser, remove nlohmann/json
|
2 years ago |
Riyyi
|
d6cd90ae4a
|
Util: Rename Json::Value m_value union variables
|
2 years ago |
Riyyi
|
b76223693b
|
Util: Add Parser and Serializer to Value friends
|
2 years ago |
Riyyi
|
ad137576a8
|
Util: Make character breaks in Lexer more clear syntactically
|
2 years ago |
Riyyi
|
5835c63bda
|
Util: Rename Array m_values -> m_elements
|
2 years ago |
Riyyi
|
aa283f8c75
|
Test: Add Json test cases
|
2 years ago |
Riyyi
|
39329caf22
|
Util: Fix empty Object {} parsing
|
2 years ago |
Riyyi
|
a33f35faab
|
Util: Rearrange Parser functions
|
2 years ago |
Riyyi
|
aa5b5117ad
|
Util: Change seekForward() to go 1 step after the match
|
2 years ago |
Riyyi
|
51e788a5ad
|
Util: Change Token element access to use at()
|
2 years ago |
Riyyi
|
c7e4eb2575
|
Util: Add EOF detection in Parser getArray() getObject()
|
2 years ago |
Riyyi
|
55ed70353a
|
Util: Fix trailing comma in Object error message
|
2 years ago |
Riyyi
|
abb075939f
|
Util: Properly detect empty Tokens and multiple root elements
|
2 years ago |
Riyyi
|
a3ab6aecfa
|
Util: Fix comma placement in error message
|
2 years ago |
Riyyi
|
097be4c012
|
Util: Fix Serializer trailing commas in Object dumping
The .end() returns an iterator one past the last pair, so it would
always add a comma after the last member.
|
2 years ago |
Riyyi
|
ea7049306e
|
Util: Fix empty Array parsing
|
2 years ago |
Riyyi
|
fc3dc936fa
|
Util: Fix line count detection for non-trailing newline in Job
|
2 years ago |
Riyyi
|
f2ea84be0f
|
Util: Fix to break at the end of the file in Lexer
|
2 years ago |
Riyyi
|
003db7332d
|
Util: Add fromJson() functions for Object Value types
|
2 years ago |
Riyyi
|
8797f695e0
|
Util: Fix type check
|
2 years ago |
Riyyi
|
74dd24a516
|
Util: Add flexible constructor toJson() to Json::Value
|
2 years ago |
Riyyi
|
5c95288874
|
Util: Move staticConst<T> to separate header
|
2 years ago |
Riyyi
|
0c972f420c
|
Util: Add get<T>() functionality with customization points to Value
|
2 years ago |
Riyyi
|
c5bbd7befd
|
Util: Add exists() to Json::Value
|
2 years ago |
Riyyi
|
a209452a68
|
Util: Add Json::Value at() functions
|
2 years ago |
Riyyi
|
4487c800df
|
Util: Change Array constructor
std::vector supports both vector and initializer_list for construction.
|
2 years ago |
Riyyi
|
d9cfd3f7c1
|
Util: Forward declare Json::Value in Array and Object class
|
2 years ago |
Riyyi
|
0465d5802a
|
Util: Add size() getter to Json::Value
|
2 years ago |
Riyyi
|
66774364fd
|
Util: Forward declare Value in the Parser class
|
2 years ago |
Riyyi
|
3078f62162
|
Util: Remove unneeded std::prev() use
|
2 years ago |
Riyyi
|
8e92317f9e
|
Util: Fix parsing solidus '/'
|
2 years ago |
Riyyi
|
c3d6af85ba
|
Util: Rename Stringify -> Serializer
|
2 years ago |
Riyyi
|
5d844554f5
|
Util: Fix Parser number error detection
|
2 years ago |
Riyyi
|
a3d1cd1d74
|
Util: Change Lexer line/column to 0-based
|
2 years ago |
Riyyi
|
ed5efdb0d6
|
Util: Remove unused function
|
2 years ago |
Riyyi
|
4457a711cd
|
Util: Remove debugging printf() statements
|
2 years ago |
Riyyi
|
925fdd474a
|
Util: Optimize m_index variable usage
|
2 years ago |
Riyyi
|
d65f56bf03
|
Util: Break Lexer strings on quote and new lines
|
2 years ago |
Riyyi
|
4501061060
|
Util: Add string validation to Parser
|
2 years ago |
Riyyi
|
0aef4ee2c0
|
Util: Only break Lexer string tokenization on unescaped "
|
2 years ago |
Riyyi
|
c1c9429a9d
|
Util: Improve Lexer string tokenization
|
2 years ago |
Riyyi
|
356cdaf051
|
Util: Add increment() and decrement() to Lexer
|
2 years ago |
Riyyi
|
b41bba72c9
|
Util: Rename Object key -> name
|
2 years ago |
Riyyi
|
a818c4489c
|
Util: Add missing getter to Object
|
2 years ago |
Riyyi
|
8800ff4f7a
|
Util: Move literal validation logic to Parser
|
2 years ago |