Skip to content

Convert BSON to JSON #8

Open
Open
@seanhess

Description

@seanhess

Hi, I'm new to haskell, so I have no idea whether this kind of code belongs in the BSON repo, the JSON repo, or something else, but I needed a way to serialize BSON to JSON.

https://gist.github.com/1335856

Can you use this? (Note that it's not quite done). If not, where does this kind of mapping between two separate libraries live in haskell-land? BSON and JSON are such close cousins that it seems like it should be easier.

Is there a better way to do this?

Also note that it seems that most of the libraries use Text.Text now instead of CompactString, which made it annoying to convert between the two.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions