Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lite_json::JsonValue cannot be formatted using {:?} because it doesn't implement core::fmt::Debug #21

Open
ltfschoen opened this issue Nov 5, 2021 · 2 comments

Comments

@ltfschoen
Copy link

i'm trying to debug the value as follows but i get the error shown in the subject

            let price = match val.ok()? {
                JsonValue::Object(obj) => {
                    log::info!("obj {:?}", obj);
                },
                _ => return None,
            };
@MoyunRz
Copy link

MoyunRz commented Jan 11, 2023

I tried to test and had the same problem

@xlc
Copy link
Owner

xlc commented Jan 11, 2023

Debug is currently only enabled for std feature. If you want it on no_std, we could have a debug feature.

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

No branches or pull requests

3 participants