Class ProtoGsonUtils

java.lang.Object
com.inductiveautomation.ignition.common.util.ProtoGsonUtils

public final class ProtoGsonUtils extends Object
Utilities for converting between Protobuf's Json representation (Value) and Gson's (JsonElement).
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.inductiveautomation.ignition.common.gson.JsonElement
    toJson(com.google.protobuf.Value value)
     
    static com.google.protobuf.Value
    toProto(com.inductiveautomation.ignition.common.gson.JsonElement jsonElement)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • toJson

      public static com.inductiveautomation.ignition.common.gson.JsonElement toJson(com.google.protobuf.Value value)
    • toProto

      public static com.google.protobuf.Value toProto(com.inductiveautomation.ignition.common.gson.JsonElement jsonElement)