You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:37:53 UTC

[sling-org-apache-sling-fsresource] 05/09: SLING-6873 FSResource: Support tick as well as double quote when parsing JSON files

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.fsresource-1.4.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-fsresource.git

commit 980006dbac2776b434d4fcd963e077f1b95ca25e
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Tue May 23 21:21:31 2017 +0000

    SLING-6873 FSResource: Support tick as well as double quote when parsing JSON files
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/branches/fsresource-1.x@1795965 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                         | 2 +-
 src/test/resources/fs-test/folder2/content.json | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1b9e83e..d263fdb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -148,7 +148,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.jcr.contentparser</artifactId>
-            <version>1.1.0</version>
+            <version>1.1.1-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
diff --git a/src/test/resources/fs-test/folder2/content.json b/src/test/resources/fs-test/folder2/content.json
index b0fc78d..27a76a6 100644
--- a/src/test/resources/fs-test/folder2/content.json
+++ b/src/test/resources/fs-test/folder2/content.json
@@ -1,7 +1,7 @@
 /* Comment example */
 {
-  "jcr:primaryType": "app:Page",
-  "jcr:createdBy": "admin",
+  "jcr:primaryType": 'app:Page',
+  'jcr:createdBy': "admin",
   "jcr:created": "Thu Aug 07 2014 16:32:59 GMT+0200",
   /* Comment example */
   "jcr:content": {

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.