mirror of
https://github.com/TeamNewPipe/nanojson
synced 2025-10-06 00:13:15 +02:00
Update README
This commit is contained in:
@@ -2,6 +2,5 @@
|
||||
|
||||
This is a fork of [nanojson](https://github.com/mmastrac/nanojson) for use by NewPipe(Extractor). It has the following changes:
|
||||
|
||||
- It returns an empty `JsonObject` or `JsonArray` by default instead of `null`, preventing `NullPointerException`s.
|
||||
- It accepts JS-like JSON, such as `{ this: 'is', an: 'example' }`.
|
||||
- Added ``JsonArray#streamAs`` and ``JsonArray#streamAsJsonObjects`` shortcut methods.
|
||||
- Various performance improvements borrowed from [@FireMasterK's fork](https://github.com/FireMasterK/nanojson).
|
||||
|
Reference in New Issue
Block a user