Class JsonCodecParseMethodGenerator
java.lang.Object
com.hedera.pbj.compiler.impl.generators.json.JsonCodecParseMethodGenerator
Code to generate the parse method for Codec classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static StringgenerateParseObjectMethod(String modelClassName, List<Field> fields) (package private) static StringgenerateUnsetOneOfConstants(List<Field> fields) Because all UNSET OneOf values are the same and we use them often we create a static constant for them and just reuse it throughout codec code.
-
Constructor Details
-
JsonCodecParseMethodGenerator
JsonCodecParseMethodGenerator()
-
-
Method Details
-
generateUnsetOneOfConstants
-
generateParseObjectMethod
-