Comments (4)
Keys in JSON must be double quoted according to the spec. This isn't valid JSON.
See: http://awurl.com/mbsj9bz81#first_awesome_highlight
I can handle it if you want, just do a replace on single quotes, but that could have unintended consequences (i.e. replacing intentional single quotes)
from ravendb.
I know that they should, but the fact is that most people don't behave in this manner
I don't really know why that decision was made, but I think we need to support it.
from ravendb.
I don't really know how to do this without potentially impacting valid JSON like the following:
{ "name" : "ayende's name" }
I can replace single quotes with double quotes, but that will modify that valid JSON. We can write our own JSON parser, but I don't know of any parsers that will accept malformed JSON and smartly (this is ambiguous) parse it.
from ravendb.
Yeah, good point.
I almost want to use eval for this, but I will resist.
Okay,
from ravendb.
Related Issues (20)
- Include ravendb benchmarks in dotnet/performance HOT 3
- RavenDB-21648 WhatChanged for single entity HOT 1
- Tried to send 'SingleNodeBatchCommand' request - System.TimeoutException: Could not verify that etag HOT 1
- Can the document ID be handled case sensitive? HOT 4
- EarlyOutOfMemoryException when backup is trying to run Server Wide backup HOT 9
- Search stats gives 0 for totalCount HOT 9
- Extreme long query times (minutes) on RavenDB 6.0 (on Corax) HOT 6
- AspNetCore.HealthChecks.RavenDB package
- Indexing error with Corax HOT 2
- Corax error when we do a search HOT 2
- Error reindexing with Corax with Raven 6.0.1 HOT 3
- Request/Question Vector Indexes with Microsoft Kernel-Memory and Semantic-Kernel HOT 2
- Cert error after upgrade to ravendb 6.0 nuget HOT 4
- When do you want to upgrade packages from net6 to net8? HOT 2
- Exception with Decimal Helper HOT 8
- Question: Topology change and replication error HOT 2
- Index out of bounds of Array when storing object HOT 6
- Unable to query metadata property @refresh HOT 1
- Subscriptions receiving error when using 'include' keyword with RQL HOT 4
- New Quartz scheduler job store for Raven HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ravendb.