internal unsafe static object ToStringIfStringObject(object value, NetJSONSettings settings) { var str = value as string; if (str != null) { str = string.Concat('"', str, '"'); fixed (char* p = str) { char* ptr = p; int index = 0; return NetJSON.DecodeJSONString(ptr, ref index, settings, fromObject: true); } } return value; }