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

Fixing SerializationException while parsing unknown proprties #3

Merged
merged 3 commits into from
May 4, 2023

Conversation

ranger163
Copy link
Contributor

  • Adding Ktor json "isLenient = true" to remove JSON specification restriction (RFC-4627) and makes parser more liberal to the malformed input.
  • Adding Ktor json "ignoreUnknownKeys = true" to specify whether encounters of unknown properties in the input JSON should be ignored instead of throwing SerializationException.

- Adding Ktor json "isLenient = true" to remove JSON specification restriction (RFC-4627) and makes parser more liberal to the malformed input.
- Adding Ktor json "ignoreUnknownKeys = true" to specify whether encounters of unknown properties in the input JSON should be ignored instead of throwing SerializationException.
- Removing "kotlin.mpp.enableGranularSourceSetsMetadata = true" as it has no effect in this and future Kotlin versions, as Hierarchical Structures support is now enabled by default.
- Removing "kotlin.native.enableDependencyPropagation = false" as has no effect in this and future Kotlin versions, as Kotlin/Native dependency commonization is now enabled by default.
@ranger163
Copy link
Contributor Author

Hi @SEAbdulbasit , great work you have been doing here, thank you for sharing your knowledge with us, if it's possible could you please check these commits. :)

build.gradle.kts Outdated Show resolved Hide resolved
@SEAbdulbasit SEAbdulbasit merged commit 7da4945 into SEAbdulbasit:master May 4, 2023
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.

None yet

2 participants