clj-yaml 2023-03-04

@kwladyka has joined the channel

When read large YAML

The incoming YAML document exceeds the limit: 3145728 code points.
the code_point_limit is needed to overwrite, but I didn’t find a way to do this with clj-yaml. How do you read large YAML files?

@kwladyka There isn't currently an option, but you can call make-loader followed by (.setCodePointLimit ...) on it. But I don't see where you can then pass that loader. That should probably be added as well, along with an explicit option for the :code-point-limit - what do you think @lee?

👍 1

Ya, was just typing similar!

Issue welcome @kwladyka - optionally also a PR, if you're in for it

@kwladyka Are you comfortable doing a PR yourself or would you rather defer to us?

sorry, this is very side thing for hobby and I am very tired last time to take more coding

no problem :)

👍 1