73 Commits

Author SHA1 Message Date
Vadim Godunko
43dc812168 Code refactoring: rename Content_Handlers package. 2021-09-21 18:03:40 +03:00
Vadim Godunko
f74de38c19 Code refactoring: rename Push_Writers packages. 2021-09-21 18:03:40 +03:00
Vadim Godunko
1e4e10f66c Code refactoring: rename Push_Readers packages. 2021-09-21 18:03:40 +03:00
Vadim Godunko
ac58ad1c9c Code refactoring: rename Pull_Readers packages 2021-09-21 18:03:40 +03:00
Vadim Godunko
5288b4da16 Rename types to distinguish push/pull readers/writers. 2021-09-21 18:03:40 +03:00
Vadim Godunko
d7360ab7f0 Fix build of Writer. 2021-09-21 18:03:40 +03:00
Vadim Godunko
19fa0e1fbf Initial implementation of the push JSON reader. 2021-09-21 18:03:40 +03:00
Vadim Godunko
f186d0b269 Move Writer to be child of Push package. 2021-09-21 18:03:40 +03:00
Vadim Godunko
8547c51fe1 Code refactoring for JSON streaming API. 2021-09-21 18:03:40 +03:00
Vadim Godunko
910d04f79d Move all convenience subprograms to Content_Handler.
... to make them available for any handlers.
2020-11-17 20:21:35 +03:00
Vadim Godunko
7b8c80accd Generate number value with Number_Value subprogram.
... to match reader's API. Modify Integer_Value and Float_Value
subprograms to be compatible with old code.
2020-11-17 20:21:35 +03:00
Vadim Godunko
f86a1385b6 Ignore any failures in End_Document, but report internal failures.
...it is important to be able to reuse writer to generate another
JSON document.
2020-11-17 14:19:41 +03:00
Vadim Godunko
9538cc94e7 TB02-042 Fix missign closing quotation mark for empty string value 2020-11-10 12:07:29 +03:00
Vadim Godunko
4315037aca TB02-042 Use internal string API to improve performance. 2020-11-09 17:19:29 +03:00
Vadim Godunko
595b9e9d26 TB02-042 Read current character only once
... to avoid multiple calls to Element subprogram
2020-11-06 14:00:33 +03:00
Vadim Godunko
dd944c9ff4 T714-004 Rename to Empty_Virtual_String. 2020-10-11 23:40:43 +03:00
Maxim Reznik
3f9a2af4be Add implementation for Skip_Current_Value,
Skip_Current_Object and Skip_Current_Array
2020-10-07 18:13:46 +03:00
Vadim Godunko
2e2e7235ae Minor reformatting. 2020-09-03 20:25:47 +03:00
Vadim Godunko
0c517cabbb T714-004 Remove Virtual_String_Buffer 2020-09-03 19:43:38 +03:00
Vadim Godunko
24a005fbc8 T708-017 Use Virtual_String_Buffer to accumulate data. 2020-07-17 17:47:08 +03:00
Vadim Godunko
ffca74b32d Use To_Virtual_String for conversion. 2020-07-17 17:47:08 +03:00
Vadim Godunko
4f233103b7 Generate escape sequences for control characters. 2020-06-28 21:00:02 +03:00
Vadim Godunko
8c727c5800 Fix compiler warnings. 2020-06-11 19:18:14 +03:00
Vadim Godunko
33e886a365 Rename Magic_Character to Virtual_Character 2020-06-09 09:45:09 +03:00
Vadim Godunko
0c32eb34f6 Rename Magic_String to Virtual_String. 2020-06-09 09:45:09 +03:00