Canop / deser-hjson

A Serde 1.0 compatible Rust deserializer for Hjson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the attached hjson file can't be parsed

shi-yan opened this issue · comments

the following example can't be parsed. but it's legit.

you can verify it here https://hjson.github.io/try.html

{
  title : CodeStage example
  repo : https://github.com/shi-yan/codestage
  # need to have the slash
  prefix : ""
  target : dist
  url : "http://localhost:8000"
  meta_image : meta.png
  description : 
    '''CodeStage is a static site generator to build JS playground demos.'''
  utilities : [ "khronos",  "tdl" ]
}

the error message I got was

Error: Eof at 11:3 at "utilities : [ \""

This would probably be solved with the work of @pamaury on multiline values in #15