Skip to content

Conversation

@Eskibear
Copy link
Member

@Eskibear Eskibear commented Sep 27, 2023

As discussed in #8 (comment) , we should silent fail and fallback to use the string value when it fails to be parsed as a JSON value.

Found a miss here when the value is null, which is legal according to RFC4627 and AppConfig service's behavior.

This PR fixes the bug and I also include test cases for special values.

@Eskibear Eskibear requested a review from avanigupta September 27, 2023 08:52
@Eskibear Eskibear changed the title fix bug on parsing specicial JSON values fix bug on parsing special JSON values Sep 27, 2023
@Eskibear Eskibear merged commit d9b0a6f into main Sep 27, 2023
@Eskibear Eskibear deleted the yanzh/fix-json branch September 27, 2023 23:54
@Eskibear Eskibear restored the yanzh/fix-json branch October 25, 2023 07:42
@Eskibear Eskibear deleted the yanzh/fix-json branch October 25, 2023 07:43
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

Successfully merging this pull request may close these issues.

3 participants