Comments (3)
It's probably almost impossible. The !include
stuff is interpreted by the YAML C library (in accordance with the spec) as a tag. I can't think of a way to selectively turn that off and pass the tags to you at the aeson Value
level.
from yaml.
Yes, it looked like that was going to be the case, thanks! closing this issue.
from yaml.
Adding a variant that allows you to customize how include
s are resolved may work. Something like:
decodeFileWith :: FromJSON a => FilePath -> (FilePath -> IO ByteString) -> IO (Maybe a)
from yaml.
Related Issues (20)
- `encodePretty` doesn't encode all object keys correctly HOT 4
- Maps with complex keys aren't supported HOT 1
- OtherParseException thread killed is actively harmful HOT 3
- Scientific Notation of Floating Point Values
- Eq Instance for ParseException? HOT 2
- decodeThrow expecting ‘Data.ByteString.Internal.ByteString’ HOT 3
- Empty variable value
- Empty environment variable problem HOT 10
- Install executables `json2yaml` and `yaml2json` by default HOT 3
- json2yaml does not understand `--help`; both do not understand `--version` HOT 2
- Give `yaml2json` the same interface as `json2yaml`? HOT 4
- Compatibility with aeson-2.0 HOT 9
- Please export Parse HOT 4
- Aeson incompatibility compile error HOT 6
- Ambiguous occurrence AesonException HOT 2
- Example code of `decodeFile` is not work HOT 1
- Build failure with `optparse-applicative-0.18`
- package not compiling with the latest aeson version (2.2.0.0) HOT 2
- Build failure with `aeson-2.2.0.0` HOT 2
- Add bound for aeson-2.0 HOT 1
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 yaml.