JSON-Viewer icon indicating copy to clipboard operation
JSON-Viewer copied to clipboard

Looking for MongoDb BSON support ($)

Open douglaskanderson opened this issue 3 years ago • 0 comments

I’m looking to sponsor someone to provide a plugin like this one with a few modifications. Specifically I’m looking for it to support MongoDb BSON files. I suspect this is straightforward as you really just need to handle the DataTypes like NumberInt() and ISODate(). More are listed here https://docs.mongodb.com/manual/core/shell-types/.

BSON files are formatted correctly (more or less) with this plugin but it sees the specific types as errors in red.

For example the following BSON has issues with your validator and viewer:

{

"Number": NumberInt(1),

"Date" : ISODate("2012-12-19T06:01:17.171Z")

}

If anyone has the skill set and is interested, please contact me. The intent would be to pay for this work but keep this part of this project or a separate opensource plugin on GitHub.

douglaskanderson avatar Feb 03 '22 19:02 douglaskanderson