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 |
Riyyi
|
6161d577c6
|
Util: Change Object map unused value to uint8_t
|
2 years ago |
Riyyi
|
ddf0a2858b
|
Util: Move number validation logic to Parser
|
2 years ago |
Riyyi
|
8c08b8a594
|
Util: Add error report to Lexer default case
|
2 years ago |
Riyyi
|
4a7ed92519
|
Util: Add constructor Value(Type)
|
2 years ago |
Riyyi
|
95e0ddf49a
|
Util: Fix return Value when an error has occurred
|
2 years ago |
Riyyi
|
fdeba07fd4
|
Util: Improve JSON parsing and add error messages
|
2 years ago |
Riyyi
|
a14cd1e0a5
|
Util: Change Parser switch cases to if-else
|
2 years ago |
Riyyi
|
061ed74d4f
|
Util: Check strings for double quotes in Lexer
|
2 years ago |
Riyyi
|
8fb1a1a8e9
|
Util: Move vector<Token> ownership to Job class
|
2 years ago |
Riyyi
|
bc01b34e58
|
Util: Calculate JSON line number before lexing
|
2 years ago |
Riyyi
|
68bc95fdf1
|
Util: Implement new JSON Job class
|
2 years ago |
Riyyi
|
13d020a351
|
Util: Add JSON Job class
This class holds the to parse string and has a helper for printing error
messages.
|
2 years ago |
Riyyi
|
af678374bc
|
Util: Add emplace() to Json::Value
|
2 years ago |
Riyyi
|
e5978310bf
|
Util: Fix Parser Json::Value construction
|
2 years ago |
Riyyi
|
8bfae9b483
|
Util: Add more ways of accessing and creating Json::Value objects
|
2 years ago |
Riyyi
|
9f7fe81ef6
|
Util: Add parse() and dump() to Json::Value
|
2 years ago |
Riyyi
|
aad95de5fd
|
Util: Add a JSON stringifier
|
2 years ago |
Riyyi
|
c385432bb0
|
Util: Add JSON accessors
|
2 years ago |
Riyyi
|
5188d57d19
|
Util: Add JSON parser
|
3 years ago |
Riyyi
|
0880d98fe0
|
Util: Add JSON Array/Object/Value types
|
3 years ago |