The serializer serialitzes wrong the string arrays
Mrgaton opened this issue · comments
Mrgaton commented
var data = new DeserializerBuilder().WithNamingConvention(CamelCaseNamingConvention.Instance).Build().Deserialize<dynamic>(savedData);
Ive used that to deserialize a yalm file and modify his content and then re serialize it but for example the string arrays doesnt serealitze well
from:
scopes:
- "openid"
- "link"
- "bong"
- "item"
- "lol"
- "agent"
- "offline_access"
to :
scopes:
- openid: "- openid"
- link: "- link"
- bong: "- bong"
- item: "- item"
- lol: "- lol"
- agent: "- agent"
- offline_access: "- offline_access"
Mrgaton commented
to serialize it i use this:
new Serializer().Serialize(data)
Mrgaton commented
Ok nevermind
Mrgaton commented
i was using a homemade crappy function to add custom spaces and that what broke the array :C sory