You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2017/05/23 21:21:31 UTC

svn commit: r1795965 - in /sling/branches/fsresource-1.x: pom.xml src/test/resources/fs-test/folder2/content.json

Author: sseifert
Date: Tue May 23 21:21:31 2017
New Revision: 1795965

URL: http://svn.apache.org/viewvc?rev=1795965&view=rev
Log:
SLING-6873 FSResource: Support tick as well as double quote when parsing JSON files

Modified:
    sling/branches/fsresource-1.x/pom.xml
    sling/branches/fsresource-1.x/src/test/resources/fs-test/folder2/content.json

Modified: sling/branches/fsresource-1.x/pom.xml
URL: http://svn.apache.org/viewvc/sling/branches/fsresource-1.x/pom.xml?rev=1795965&r1=1795964&r2=1795965&view=diff
==============================================================================
--- sling/branches/fsresource-1.x/pom.xml (original)
+++ sling/branches/fsresource-1.x/pom.xml Tue May 23 21:21:31 2017
@@ -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>

Modified: sling/branches/fsresource-1.x/src/test/resources/fs-test/folder2/content.json
URL: http://svn.apache.org/viewvc/sling/branches/fsresource-1.x/src/test/resources/fs-test/folder2/content.json?rev=1795965&r1=1795964&r2=1795965&view=diff
==============================================================================
--- sling/branches/fsresource-1.x/src/test/resources/fs-test/folder2/content.json (original)
+++ sling/branches/fsresource-1.x/src/test/resources/fs-test/folder2/content.json Tue May 23 21:21:31 2017
@@ -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": {