[EEP] LLSD Serialize Notation additions
This commit is contained in:
@@ -192,6 +192,14 @@ char* ll_pretty_print_sd(const LLSD& sd)
|
||||
return buffer;
|
||||
}
|
||||
|
||||
std::string ll_stream_notation_sd(const LLSD& sd)
|
||||
{
|
||||
std::ostringstream stream;
|
||||
stream << LLSDOStreamer<LLSDNotationFormatter>(sd);
|
||||
return stream.str();
|
||||
}
|
||||
|
||||
|
||||
//compares the structure of an LLSD to a template LLSD and stores the
|
||||
//"valid" values in a 3rd LLSD. Default values pulled from the template
|
||||
//if the tested LLSD does not contain the key/value pair.
|
||||
|
||||
Reference in New Issue
Block a user