public final class FunctionDeclarationMaker extends Object
FunctionDeclaration| Constructor and Description |
|---|
FunctionDeclarationMaker() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionDeclaration |
fromJsonObject(com.google.gson.JsonObject jsonObject)
Creates a FunctionDeclaration from a JsonObject
|
static FunctionDeclaration |
fromJsonString(String jsonString)
Creates a FunctionDeclaration from a JsonString
|
public static FunctionDeclaration fromJsonString(String jsonString) throws com.google.protobuf.InvalidProtocolBufferException
jsonString - A valid Json String that can be parsed to a FunctionDeclaration.FunctionDeclaration by parsing the input json String.com.google.protobuf.InvalidProtocolBufferException - if the String can't be parsed into a FunctionDeclaration
proto.public static FunctionDeclaration fromJsonObject(com.google.gson.JsonObject jsonObject) throws com.google.protobuf.InvalidProtocolBufferException
jsonObject - A valid Json Object that can be parsed to a FunctionDeclaration.FunctionDeclaration by parsing the input json Object.com.google.protobuf.InvalidProtocolBufferException - if the jsonObject can't be parsed into a
FunctionDeclaration proto.Copyright © 2024 Google LLC. All rights reserved.