-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
streamReadConstaints support in Ion dataformat #358
Comments
Right, Ion codec used under the hood is from Amazon's library, and that would need to co-operate here. Ion maintainers may be able to help here: until then, maybe we should add test under |
@cowtowncoder is there someone in Amazon Ion team that could be approached? It is probably safe to say that none of the StreamReadConstraints stuff works for this format right now (including the num size limits) - or IonReader could have something of its own. |
Right, for now Ion doesn't get constraints, beyond what Amzn codec might offer out of the box. Yes, there are some maintainers
I should probably figure if one of them is considered active (or perhaps someone else, I recall seeing other accounts too) and then update documentation. |
I've opened the above-linked feature request within the ion-java repository. This functionality isn't currently provided, but the use case is pretty easy to understand, so we (the Ion maintainers) should consider it. |
That's good, and I think there could be two ways to configure limits: native Ion (when providing low-level components to Jackson factory), or, if limit-options match, using |
In jackson 2.16 (when released), there will also be a limit on the size of the object names. 50,000 chars or bytes depending on the input context. |
In IonFactory, there is
getText()
and theory that can be changed to validate the string lengths.The text was updated successfully, but these errors were encountered: