birdiecare / connect-smts

Kafka Connect SMTs
MIT License
17 stars 1 forks source link

Ignore null properties inside JSON #2

Closed ChloePont closed 3 years ago

ChloePont commented 3 years ago

The following event

{
    "id": "aaaa-bbbb",
    "json": "{\"user_id\":null, \"received_at\":\"2021-03-31T10:03:51.966Z\"}"
}

should return the following schema:

{
    "id": STRING,
    "json": 
        {"received_at": STRING}
}