Re: Serialization and data storage formats

2017-08-01 Thread buddha via Chapel-users
Oh, yeah! I loved this example. It helped inspire this issue: https://github.com/chapel-lang/chapel/issues/6840 I looked right past the JSON part... We are extensively using graph structures and analytics, so I’d be pretty excited to see a

Re: Serialization and data storage formats

2017-08-01 Thread Michael Ferguson
Hi - >I see that x is a primitive. Can you read JSON into an object or was that >blocked by existential questions? Yes, you can read a record or a class with JSON. If the record or class has a custom readThis/writeThis/readWriteThis it might need to specifically handle the case of JSON, though.

Re: Serialization and data storage formats

2017-08-01 Thread buddha via Chapel-users
Thanks Michael, That helped me find this page: http://chapel.cray.com/docs/master/modules/standard/IO.html#i-o-overview (Google is still not that friendly to Chapel, getting better) In this example: var myFile =

Re: Serialization and data storage formats

2017-08-01 Thread Michael Ferguson
Hi - I'm not sure I can make a complete list but I would like to point out that JSON is supported with Chapel's formatted I/O system. Try e.g. writef("%jt", myVariable); Reading works OK but there are some philosophical questions that are currently unresolved to do with - in what circumstances

Serialization and data storage formats

2017-08-01 Thread buddha via Chapel-users
Can someone share a list of currently supported serialization formats, like HDF5 (I know not current), Parquet, etc. Second, we data storage is supported. I see CSV and HDFS, but no SQL or others. Thanks! b ~ May All Your Sequences Converge