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

JBool can not be extracted to String #1426

Open
jelmerk opened this issue Feb 13, 2024 · 1 comment
Open

JBool can not be extracted to String #1426

jelmerk opened this issue Feb 13, 2024 · 1 comment

Comments

@jelmerk
Copy link

jelmerk commented Feb 13, 2024

Looking at the Extraction.convert method it seems that every json type can be converted to string except boolean

(json \ "property").extract[String]

works for longs, ints, doubles etc but not booleans. is there any good reason this is unsupported ?

@jelmerk jelmerk changed the title JBoolean can not be extracted to String JBool can not be extracted to String Feb 13, 2024
@iamdnair
Copy link

Hey @jelmerk may i know which version of scala and json4s you are using also are u using this any spark version, jdk version

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

No branches or pull requests

2 participants