Repository: johnzon
Updated Branches:
  refs/heads/JSONP-1.1 c378b9b05 -> 24b01af8e


Update geronimo-json-spec from 1.0 to 1.1, add JsonPointer encode and decode 
methods


Project: http://git-wip-us.apache.org/repos/asf/johnzon/repo
Commit: http://git-wip-us.apache.org/repos/asf/johnzon/commit/28748ffb
Tree: http://git-wip-us.apache.org/repos/asf/johnzon/tree/28748ffb
Diff: http://git-wip-us.apache.org/repos/asf/johnzon/diff/28748ffb

Branch: refs/heads/JSONP-1.1
Commit: 28748ffb18ff541c6d313c482024de255d60afd9
Parents: c378b9b
Author: Armin Hasler <[email protected]>
Authored: Fri Jun 24 14:49:29 2016 +0200
Committer: Mark Struberg <[email protected]>
Committed: Tue Nov 22 21:23:15 2016 +0100

----------------------------------------------------------------------
 .../apache/johnzon/core/JsonPointerUtil.java    | 37 ++++++++++++++++++++
 .../johnzon/core/JsonPointerUtilTest.java       |  7 ++++
 2 files changed, 44 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/johnzon/blob/28748ffb/johnzon-core/src/main/java/org/apache/johnzon/core/JsonPointerUtil.java
----------------------------------------------------------------------
diff --git 
a/johnzon-core/src/main/java/org/apache/johnzon/core/JsonPointerUtil.java 
b/johnzon-core/src/main/java/org/apache/johnzon/core/JsonPointerUtil.java
new file mode 100644
index 0000000..276fb42
--- /dev/null
+++ b/johnzon-core/src/main/java/org/apache/johnzon/core/JsonPointerUtil.java
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.johnzon.core;
+
+public class JsonPointerUtil {
+
+    /**
+     *
+     * @param s
+     * @return
+     */
+    public static String encode(String s) {
+        return null;
+    }
+
+    public static String decode(String s) {
+        return null;
+    }
+
+
+}

http://git-wip-us.apache.org/repos/asf/johnzon/blob/28748ffb/johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerUtilTest.java
----------------------------------------------------------------------
diff --git 
a/johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerUtilTest.java 
b/johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerUtilTest.java
new file mode 100644
index 0000000..226d742
--- /dev/null
+++ 
b/johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerUtilTest.java
@@ -0,0 +1,7 @@
+package org.apache.johnzon.core;
+
+/**
+ * @author Armin Hasler (02eex458)
+ */
+public class JsonPointerUtilTest {
+}

Reply via email to