Skip to content

ShrimpingIt/micropython-ijson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: Work on this repository was halted given issues in regex support on Micropython. Work was then superceded by the Medea Project a new implementation of a bytewise JSON parser specifically targeting low memory environments and Micropython. The content is retained for archival purposes.

>>>>>>>>

micropython-ijson

This is an attempt to port the ijson JSON tokenizer to Micropython environments.

It should help with the parsing of HTTP API results from low-memory platforms such as the ESP8622.

For example, the Openweathermap API produces forecast information in JSON like the openweathermap.json file provided in this repo. The main.py in this repo shows how ijson can be used to extract the rain forecast through tokenizing instead of full JSON unmarshalling.

About

Port of ijson for micropython low memory environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%