Comments (3)
I think clj-yaml
doesn't expose the addImplicitResolver()
method of snakeyaml. See https://bitbucket.org/asomov/snakeyaml/src/5e41c378e49c9b363055ac8b0386b69cb3f389d2/src/main/java/org/yaml/snakeyaml/resolver/Resolver.java#lines-89
That's OK, you might be able to call it manually (haven't checked the code), or you might be able to just create a class called foo
using deftype
.
Better question for https://ask.clojure.org/ :)
from clj-yaml.
clj-yaml should probably support this. Feel free to make proposals, starting with a clear problem statement and with several alternatives.
from clj-yaml.
@grzm This issue is related to your request. PassthroughConstructor should also help.
from clj-yaml.
Related Issues (20)
- Upgrade to SnakeYAML 1.41 and solve "Number of aliases exceeds" error HOT 3
- Dump aliases HOT 4
- Incorrectly identifies a map key as a keyword literal HOT 2
- Make it easier for folks to include clj-yaml in a GraalVM native image HOT 1
- Support for reading comments HOT 2
- Keywords mode broken for complex keys that happen to contain `/` HOT 6
- Take a pass at docstrings
- What is the public API? HOT 7
- Accidentally broke decode? HOT 8
- Add lint to CI
- Test against supported verisons of Clojure
- Deprecated constructor `org.yaml.snakeyaml.representer.Representer` HOT 4
- Add Eastwood linting
- support nesting-depth-limit on Yaml-options HOT 2
- Explore Upgrading to SnakeYAML 2.x HOT 5
- dev: make nvd scan easy to run locally
- Consider bumping org.flatland.ordered HOT 3
- The incoming YAML document exceeds the limit: 3145728 code points. HOT 10
- The newest ordered is 1.5.10 which solves a couple of bugs
- Upgrade ordered to 1.15.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clj-yaml.