Class GeneratedMessageV3Serializer


  • public class GeneratedMessageV3Serializer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.protobuf.GeneratedMessageV3 fromJsonObject​(org.json.JSONObject jsonObject)  
      static org.json.JSONObject toJsonObject​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)  
      static org.json.JSONObject toJsonObjectWithClassIncluded​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)  
      static org.json.JSONObject toJsonObjectWithOnlyPayload​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneratedMessageV3Serializer

        public GeneratedMessageV3Serializer()
    • Method Detail

      • toJsonObjectWithOnlyPayload

        public static org.json.JSONObject toJsonObjectWithOnlyPayload​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)
      • toJsonObjectWithClassIncluded

        public static org.json.JSONObject toJsonObjectWithClassIncluded​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)
      • toJsonObject

        public static org.json.JSONObject toJsonObject​(com.google.protobuf.GeneratedMessageV3 generatedMessageV3)
      • fromJsonObject

        public static com.google.protobuf.GeneratedMessageV3 fromJsonObject​(org.json.JSONObject jsonObject)