1
0
mirror of https://github.com/TeamNewPipe/nanojson synced 2025-10-06 00:13:15 +02:00

Update README

This commit is contained in:
Stypox
2025-10-03 12:08:28 +02:00
parent 72c8ed4142
commit fcb2efdc01

View File

@@ -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).