Function get_root

Synopsis

#include <include/sajson.h>

value get_root() const

Description

If is_valid(), returns the document's root value.

Mentioned in

Source

Lines 846-846 in include/sajson.h.

value get_root() const { return value(root_tag, root, input.get_data()); }





Add Discussion as Guest

Log in