Skip to content

Conversation

swallez
Copy link
Member

@swallez swallez commented May 3, 2022

Add a specific JSON (de)serialization for enums that have true and false values. These used to be boolean properties that evolved into enums to handle more than two states.

Elasticsearch accepts their JSON boolean representation in requests and some tools/products expect them to be serialized as JSON booleans.

Fixes #139

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

Successfully merging this pull request may close these issues.

Serialize DynamicMapping values as booleans instead of string
1 participant