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
|
3 years ago |
Riyyi
|
66774364fd
|
Util: Forward declare Value in the Parser class
|
3 years ago |
Riyyi
|
3078f62162
|
Util: Remove unneeded std::prev() use
|
3 years ago |
Riyyi
|
8e92317f9e
|
Util: Fix parsing solidus '/'
|
3 years ago |
Riyyi
|
c3d6af85ba
|
Util: Rename Stringify -> Serializer
|
3 years ago |
Riyyi
|
5d844554f5
|
Util: Fix Parser number error detection
|
3 years ago |
Riyyi
|
a3d1cd1d74
|
Util: Change Lexer line/column to 0-based
|
3 years ago |
Riyyi
|
ed5efdb0d6
|
Util: Remove unused function
|
3 years ago |
Riyyi
|
4457a711cd
|
Util: Remove debugging printf() statements
|
3 years ago |
Riyyi
|
925fdd474a
|
Util: Optimize m_index variable usage
|
3 years ago |
Riyyi
|
d65f56bf03
|
Util: Break Lexer strings on quote and new lines
|
3 years ago |
Riyyi
|
4501061060
|
Util: Add string validation to Parser
|
3 years ago |
Riyyi
|
0aef4ee2c0
|
Util: Only break Lexer string tokenization on unescaped "
|
3 years ago |
Riyyi
|
c1c9429a9d
|
Util: Improve Lexer string tokenization
|
3 years ago |
Riyyi
|
356cdaf051
|
Util: Add increment() and decrement() to Lexer
|
3 years ago |
Riyyi
|
b41bba72c9
|
Util: Rename Object key -> name
|
3 years ago |
Riyyi
|
a818c4489c
|
Util: Add missing getter to Object
|
3 years ago |
Riyyi
|
8800ff4f7a
|
Util: Move literal validation logic to Parser
|
3 years ago |
Riyyi
|
6161d577c6
|
Util: Change Object map unused value to uint8_t
|
3 years ago |
Riyyi
|
ddf0a2858b
|
Util: Move number validation logic to Parser
|
3 years ago |
Riyyi
|
8c08b8a594
|
Util: Add error report to Lexer default case
|
3 years ago |
Riyyi
|
4a7ed92519
|
Util: Add constructor Value(Type)
|
3 years ago |
Riyyi
|
95e0ddf49a
|
Util: Fix return Value when an error has occurred
|
3 years ago |
Riyyi
|
fdeba07fd4
|
Util: Improve JSON parsing and add error messages
|
3 years ago |
Riyyi
|
a14cd1e0a5
|
Util: Change Parser switch cases to if-else
|
3 years ago |
Riyyi
|
061ed74d4f
|
Util: Check strings for double quotes in Lexer
|
3 years ago |
Riyyi
|
8fb1a1a8e9
|
Util: Move vector<Token> ownership to Job class
|
3 years ago |
Riyyi
|
bc01b34e58
|
Util: Calculate JSON line number before lexing
|
3 years ago |
Riyyi
|
68bc95fdf1
|
Util: Implement new JSON Job class
|
3 years ago |
Riyyi
|
13d020a351
|
Util: Add JSON Job class
This class holds the to parse string and has a helper for printing error
messages.
|
3 years ago |
Riyyi
|
af678374bc
|
Util: Add emplace() to Json::Value
|
3 years ago |
Riyyi
|
e5978310bf
|
Util: Fix Parser Json::Value construction
|
3 years ago |
Riyyi
|
8bfae9b483
|
Util: Add more ways of accessing and creating Json::Value objects
|
3 years ago |
Riyyi
|
9f7fe81ef6
|
Util: Add parse() and dump() to Json::Value
|
3 years ago |