All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.telemetry.IJsonSerializable Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package com.microsoft.telemetry;

import java.io.IOException;
import java.io.Writer;

/**
 * this is the interface for all the data contract objects.
 */
public interface IJsonSerializable {

    /**
     * Serialize the contract objects with writer
     * 
     * @param writer the writer to serialize data
     * @throws IOException will be thrown if something wrong with the output
     *             stream
     * @throws JSONException will be thrown if the data format is not correct
     *             JSON format.
     */
    public void serialize(Writer writer) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy