Comments (4)
new SharpYaml.Serialization.SerializerSettings()
{
IgnoreUnmatchedProperties = true
}
doesn't this help?
from sharpyaml.
new SharpYaml.Serialization.SerializerSettings() { IgnoreUnmatchedProperties = true }
doesn't this help?
I am seeing the same issue. Setting the property IgnoreUnmatchedProperties
to true
only works if the the property's value is a primitive type. For any property that is set to a map or list will throw an exception.
from sharpyaml.
Seeing the same. Getting Expected 'Scalar', got 'MappingStart'
error when setting IgnoreUnmatchedProperties
to true
and the yaml having an unmatched property that's a map.
from sharpyaml.
Same problem...
@xoofx can you guide me a little? I can try to create a PR.
I understand that the problem has to be around here:
from sharpyaml.
Related Issues (20)
- The string "null" should be deserialized as a string, not as null
- Question: Plans to support NRT? HOT 2
- Custom naming convention attribute
- Reusing Serializer instance errors HOT 5
- Unable to find package SharpYaml with version (>= 2.1.0)
- [Question] Is there a way to make nested data block style and rest flow style using the serializer?
- Serialization of private properties HOT 2
- Usage samples are lacking information HOT 1
- Custom converter for generic types
- Support for System Immutable collection types HOT 1
- When is the support dimension [2]?
- Preserving comments HOT 2
- Exception was of type 'FileNotFoundException' HOT 1
- No longer can set Alias for property like this: [YamlMember(Alias = "$ref")] HOT 1
- SemanticErrorException when path key exceeds 1023 characters HOT 3
- Quotation marks are need for string like `"1e3"`, otherwise it will be regard as number `1000` HOT 2
- Anchor missing for sibling nested objects HOT 2
- Multiline strings are not emitted in the literal/folded style
- License Confusion 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 sharpyaml.