apache / apache/uima-uimaj-io-jsoncas

Lenient deserialization

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
It may be desired to deserialize a CAS JSON document into a CAS that contains only a subset of the types present in the JSON document. Currently, this produces an error.

**Describe the solution you'd like**
A configuration parameter enabling a lenient deserialization mode as we also have it for XMI files which simply skips feature structures of types that are not defined in the target CAS.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the CAS JSON deserializer and the existing XMI lenient-deserialization configuration. Trace how undefined types currently cause errors, then define and test a mode that skips unsupported feature structures while preserving the types available in the target CAS.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.