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

Parse as dynamic? #2

Closed
kevinresol opened this issue Apr 14, 2016 · 2 comments
Closed

Parse as dynamic? #2

kevinresol opened this issue Apr 14, 2016 · 2 comments

Comments

@kevinresol
Copy link
Member

I am just thinking will there be any chances that one wishes to parse whatever value regardless of its type?

Json.parse(("1":Int)); // works
Json.parse(("1":Dynamic)); // fails
@back2dos
Copy link
Member

Well, that would seem somewhat contrary to what this library is aiming for.

If you do have a use case though, I'd be glad to discuss it ;)

@kevinresol
Copy link
Member Author

Indeed.
This is somewhat a made-up issue, haxetink/tink_typecrawler#2 should be the more precise problem.

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

2 participants