Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Add justjson as an alternative json solution. #195

Open
kvinwang opened this issue Feb 10, 2023 · 2 comments
Open

Add justjson as an alternative json solution. #195

kvinwang opened this issue Feb 10, 2023 · 2 comments
Assignees

Comments

@kvinwang
Copy link
Contributor

kvinwang commented Feb 10, 2023

Looks like It won't produce unnecessary fp instructions: https://github.com/khonsulabs/justjson/

And maybe another way: making our own simple JSON parser based on https://github.com/zesterer/chumsky/blob/master/examples/json.rs.

@kvinwang kvinwang self-assigned this Feb 10, 2023
@h4x3rotab
Copy link
Contributor

Looks nice. Do you think it's better than having our own serde json in our own crates (e.g. pink-web3)?

@kvinwang
Copy link
Contributor Author

Do you think it's better than having our own serde json in our own crates (e.g. pink-web3)?

No, justjson doesn't support serde. It's not easy to replace serde_json with it in pink-web3.

It can be a lightweight alternative to some simple scenarios.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants