/// <summary> /// Generates a JSON string from the specified root |node| which should be a /// dictionary or list value. Returns an empty string on failure. This method /// requires exclusive access to |node| including any underlying data. /// </summary> public static string WriteJson(CefValue value, CefJsonWriterOptions options) { if (value == null) { throw new ArgumentNullException("value"); } var n_result = libcef.write_json(value.ToNative(), options); return(cef_string_userfree.ToString(n_result)); }
public static extern cef_string_userfree *write_json(cef_value_t *node, CefJsonWriterOptions options);