You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2014/07/02 19:36:23 UTC
svn commit: r1607427 - /incubator/fleece/site/publish/index.html
Author: rmannibucau
Date: Wed Jul 2 17:36:23 2014
New Revision: 1607427
URL: http://svn.apache.org/r1607427
Log:
Site checkin for project Fleece
Modified:
incubator/fleece/site/publish/index.html
Modified: incubator/fleece/site/publish/index.html
URL: http://svn.apache.org/viewvc/incubator/fleece/site/publish/index.html?rev=1607427&r1=1607426&r2=1607427&view=diff
==============================================================================
--- incubator/fleece/site/publish/index.html (original)
+++ incubator/fleece/site/publish/index.html Wed Jul 2 17:36:23 2014
@@ -180,8 +180,9 @@ under the License. --><h1>Apache fleece<
<div class="section">
<h3>Core<a name="Core"></a></h3>
-<div class="source">
-<pre><dependency>
+<div>
+<pre class="prettyprint linenums">
+<dependency>
<groupId>org.apache.fleece</groupId>
<artifactId>fleece-core</artifactId>
<version>${fleece.version}</version>
@@ -189,8 +190,9 @@ under the License. --><h1>Apache fleece<
</pre></div>
<p>This is the implementation of the specification. You’ll surely want to add the API as dependency too:</p>
-<div class="source">
-<pre><dependency>
+<div>
+<pre class="prettyprint linenums">
+<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-json_1.0_spec</artifactId>
<version>${json-processing.version}</version>
@@ -200,8 +202,9 @@ under the License. --><h1>Apache fleece<
<div class="section">
<h3>Mapper<a name="Mapper"></a></h3>
-<div class="source">
-<pre><dependency>
+<div>
+<pre class="prettyprint linenums">
+<dependency>
<groupId>org.apache.fleece</groupId>
<artifactId>fleece-mapper</artifactId>
<version>${fleece.version}</version>
@@ -209,8 +212,9 @@ under the License. --><h1>Apache fleece<
</pre></div>
<p>The mapper module allows you to use the implementation you want of Json Processing specification to map Json to Object and the opposite.</p>
-<div class="source">
-<pre>final MySuperObject object = createObject();
+<div>
+<pre class="prettyprint linenums">
+final MySuperObject object = createObject();
final Mapper mapper = new MapperBuilder().build();
mapper.writeObject(object, outputStream);
@@ -220,8 +224,9 @@ final MySuperObject otherObject = mapper
<div class="section">
<h3>JAX-RS<a name="JAX-RS"></a></h3>
-<div class="source">
-<pre><dependency>
+<div>
+<pre class="prettyprint linenums">
+<dependency>
<groupId>org.apache.fleece</groupId>
<artifactId>fleece-jaxrs</artifactId>
<version>${fleece.version}</version>