ΒΆtemplate <typename T>
Expected<T> parse(const llvm::StringRef& JSON,
                  const char* RootName = "")

Description

Version of parse() that converts the parsed value to the type T. RootName describes the root object and is used in error messages.

Declared at: llvm/include/llvm/Support/JSON.h:890

Templates

T

Parameters

const llvm::StringRef& JSON
const char* RootName = ""