Skip to content

Commit 10518bf

Browse files
committed
Give access to native_value() for debugging purposes
1 parent 18b6b61 commit 10518bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/include/json/Json.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ class JsonValue : public api::ExecutionContext {
125125

126126
static JsonApi &api() { return m_api; }
127127

128+
const json_t * native_value() const {
129+
return m_value;
130+
}
131+
128132
protected:
129133
struct Key {
130134
Key(const var::StringView value)

0 commit comments

Comments
 (0)