Skip to content

Commit 334d15d

Browse files
committed
move todos to issues
1 parent 2574883 commit 334d15d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -243,21 +243,3 @@ and may only need to rely on the tokenizer and/or AST tree features. By default,
243243
but this can be disabled. Even without the `serde` feature, the parser modules provide functions and methods for
244244
parsing and serialization, including the ability to customize the style.
245245

246-
247-
## TODOs
248-
249-
Some things I need to implement and some things I may or may not implement. In rough priority order:
250-
251-
- [ ] Move documentation from readme to crate documentation
252-
- [ ] Provide methods for safely editing models (e.g., validate that, when serialized, the model will produce a valid JSON5 document) today. This may also let us adjust the visibility of certain attributes.
253-
- [ ] Provide a `json5!` macro similar to `serde_json`'s [`json!` macro](https://docs.rs/serde_json/latest/serde_json/value/index.html)
254-
- [ ] Investigate `no_std` support
255-
- [ ] Optimize the round-trip tokenizer to avoid processing the input twice
256-
- [ ] More serialization formatting options (e.g., prefer single- or double-quoted strings, try to use identifiers where possible, etc.)
257-
- [ ] Incremental parsing. Originally, an incremental tokenizer/parser was actually developed. In testing, speeds were the same or worse. Maybe it could be done in a performant way. But this may be useful for specific use cases, such as memory-constrained environments, very large JSON5 files (why?), or use cases where the input is streamed (say, over the network).
258-
- [x] ~~Publish crate~~
259-
- [x] ~~Benchmarks~~
260-
- [x] ~~Basic formatting options (indent, compact, trailing comma)~~
261-
- [x] ~~Complete logic for serialization of values (specifically: processing all \[unicode\] escape sequences in strings/identifiers and handling certain float formats like `.0` and `1.`)~~
262-
- [x] ~~Come up with a way to reject invalid unicode escape sequences (e.g., when an illegal escape sequence is used at the start of an identifier)~~
263-
- [ ] ~~Validate correctness of the tokenizer (specifically: use of `is_alphabetic` may not comport with the JSON5 spec)~~

0 commit comments

Comments
 (0)