Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for tests/jsonreader.test
2017-08-17
| ||
17:58 | Renamed to tests/domjson.test. Merged trunk. check-in: [c75669c175] user: rolf branch: prepare-release, size: 0 | |
2017-08-14
| ||
23:57 | Renamed to tests/domjson.text. New option -namespace for createNodeCmd elementNode: the by this cmd created nodes will be XML namespaced (and for the namespace declarations is cared for you). check-in: [b6e86350a0] user: rolf branch: nodecmdns, size: 0 | |
22:34 | createNodeCmd: Fixed arg checking of -jsonType for text nodes. file: [d048529181] check-in: [f77454e666] user: rolf branch: trunk, size: 13952 | |
2017-07-20
| ||
22:33 | Started documentation. Adjusted the code to do, what the doc say. file: [1c49ae572b] check-in: [86b81a0c23] user: rolf branch: json, size: 13815 | |
12:30 | Handling binary 0s: Literal binary nulls are not allowed in input and need special care because of tcls internal MUTF-8 encoding. file: [2da88762f9] check-in: [3c29d95f88] user: rolf branch: json, size: 12314 | |
00:00 | Handling of binary 0 (NUL). Escape all control characters outside the ones with short escapes as as unicode character escapes. file: [1fc133776b] check-in: [baf7e7d324] user: rolf branch: json, size: 11925 | |
2017-07-19
| ||
13:26 | More work on the JSON serializer to ensure, that serializing any (not json type hinted) DOM tree results in valid JSON string. file: [730e16d6a4] check-in: [2299091520] user: rolf branch: json, size: 11349 | |
2017-07-17
| ||
23:28 | Added -jsonType option to the createDocumentNode method. Intermediatly gardening. file: [52af16e05e] check-in: [57a3a1ce1c] user: rolf branch: json, size: 10997 | |
2017-07-14
| ||
00:44 | Changed jsonType to symbolic names. DomDocs now also may have a jsontype. Other minor tweaks. file: [f68a31cbe8] check-in: [e29235a43e] user: rolf branch: json, size: 9959 | |
2017-07-13
| ||
21:57 | Fix in JSON unescaping. file: [02c758a5df] check-in: [7b3b9a9817] user: rolf branch: json, size: 9463 | |
12:13 | Fixed bug in build tree in case of nested empty array as element of an array. file: [eb4d18b326] check-in: [e4b57e31b6] user: rolf branch: json, size: 9175 | |
12:01 | Fixed tree building bug in case of nested object as element value inside of array. file: [66826e3ebb] check-in: [f6a78d360b] user: rolf branch: json, size: 9150 | |
01:41 | Build a compact tree; handle JSON types "magically". The recommended tools (which do the magic automagically) as appendFromScript et al enhancements and additional syntax for XPath expressions are tbd, but with the also added jsonType method it should now not even possible to parse all valid JSON but also to generate any JSON by building up a DOM tree from the scratch and serializing it with asJSON. file: [c971483795] check-in: [72b69e3ec3] user: rolf branch: json, size: 9153 | |
2017-05-10
| ||
00:24 | See - why this limits to XML name and char data rules. file: [04dea98930] check-in: [5dacf40a1d] user: rolf branch: json, size: 8894 | |
2017-05-01
| ||
23:21 | Added serializer. Some edge case, convenience flags and more testing to be done. file: [3ced635338] check-in: [5481915769] user: rolf branch: json, size: 9635 | |
2017-04-24
| ||
00:05 | Adjust tests according to how the code now works. file: [1061d03659] check-in: [ffd617d8d7] user: rolf branch: wip, size: 8622 | |
2017-04-15
| ||
13:22 | Save work in progress for transport. file: [ab101ebe85] check-in: [1dddd40b6e] user: rolf branch: wip, size: 8401 | |
2017-04-13
| ||
15:23 | Limit the depth of recursion for valid JSON in the JSON parser in order to avoid using excess stack space (seg fault). Default: maximum allowed nesting is 2000. That default could be changed at build time. The default could be queried with [dom featureinfo jsonmaxnesting]. May be set on call by call base with the new [dom parse ...] option -jsonmaxnesting. file: [ee67e5c829] check-in: [a139d28a41] user: rolf branch: json, size: 8145 | |
2017-04-12
| ||
23:44 | Sanitized the JSON parser. file: [b8fca86640] check-in: [4f158c61d8] user: rolf branch: json, size: 6162 | |
2017-04-11
| ||
22:12 | Added un-escaping on the fly of parsing. Obviously over-convoluted written, but it at least kind of works. file: [44f06a3a34] check-in: [bca3f461d5] user: rolf branch: json, size: 3896 | |
2017-04-09
| ||
00:59 | Improved error reporting. file: [6f54e85b4c] check-in: [0a8a1c0e15] user: rolf branch: json, size: 3238 | |
2017-04-07
| ||
23:57 | Changed, improved and cluttered with the correct XML namespace limbo dance the handling of ture, false, null. Partly to lower the 'fall out' of this: new option -jsonroot, which expects the document element name of the DOM tree to create. Ignored, if not used together with -json. Fixed parsing of emtpy string values. file: [bd78a848c1] check-in: [672650884f] user: rolf branch: json, size: 2765 | |
16:25 | Added: Started implementation of JSON support. Parsing a JSON string into a DOM tree (via the new [dom parse -json] option) basically works. Work out of some details needs to be done, as well as serialization back to JSON. file: [06f8676b0a] check-in: [7ba8482d10] user: rolf branch: json, size: 1905 | |