Example usage for com.fasterxml.jackson.databind JsonSerializable interface-usage

List of usage examples for com.fasterxml.jackson.databind JsonSerializable interface-usage

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind JsonSerializable interface-usage.

Usage

From source file com.excilys.ebi.gatling.jenkins.chart.Point.java

public class Point<X extends Number, Y extends Number> implements JsonSerializable {
    private final X x;
    private final Y y;

    public Point(X x, Y y) {
        this.x = x;

From source file com.excilys.ebi.gatling.jenkins.chart.Serie.java

public class Serie<X extends Number, Y extends Number> implements JsonSerializable {
    private final List<Point<X, Y>> points = new ArrayList<Point<X, Y>>();

    public void addPoint(X x, Y y) {
        points.add(new Point<X, Y>(x, y));
    }

From source file com.excilys.ebi.gatling.jenkins.chart.SerieName.java

public class SerieName implements JsonSerializable, Comparable<SerieName> {
    final String name;

    public SerieName(String name) {
        this.name = name;
    }

From source file com.zenesis.qx.remote.ProxyProperty.java

/**
 * Represents a property that a ProxyType instance has
 * 
 * @author John Spackman [john.spackman@zenesis.com]
 */
public interface ProxyProperty extends JsonSerializable {

From source file com.zenesis.qx.remote.ProxyType.java

/**
 * ProxyType is compiled by ProxyManager from a Java class definition via reflection;
 * it contains enough information to be serialised into JSON and reconstructed as
 * a JavaScript class on the client.
 * 
 * @author John Spackman

From source file com.github.fge.jsonpatch.JsonPatchOperation.java

@JsonTypeInfo(use = Id.NAME, include = As.PROPERTY, property = "op")

@JsonSubTypes({ @Type(name = "add", value = AddOperation.class), @Type(name = "copy", value = CopyOperation.class),
        @Type(name = "move", value = MoveOperation.class), @Type(name = "remove", value = RemoveOperation.class),
        @Type(name = "replace", value = ReplaceOperation.class),
        @Type(name = "test", value = TestOperation.class) })

From source file com.github.fge.jsonpatch.mergepatch.JsonMergePatch.java

/**
 * Implementation of JSON Merge Patch (RFC 7386)
 *
 * <p><a href="http://tools.ietf.org/html/rfc7386">JSON Merge Patch</a> is a
 * "toned down" version of JSON Patch. However, it covers a very large number of
 * use cases for JSON value modifications; its focus is mostly on patching

From source file com.zenesis.qx.json.SimpleJsonObject.java

/**
 * Very simple object used when we want to output a JS object into the stream but
 * either don't want any members (because we'll populate them later) or where
 * we only have one key/value pair 
 * @author <a href="mailto:john.spackman@zenesis.com">John Spackman</a>
 */

From source file com.github.fge.jsonpatch.JsonPatch.java

/**
 * Implementation of JSON Patch
 *
 * <p><a href="http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-10">JSON
 * Patch</a>, as its name implies, is an IETF draft describing a mechanism to
 * apply a patch to any JSON value. This implementation covers all operations

From source file com.zenesis.qx.remote.SimpleQueue.java

/**
 * Simplistic but functional QueueWriter; all property values are sent first, 
 * followed by events.  Duplicates are merged.
 * 
 * @author John Spackman [john.spackman@zenesis.com]
 */