-Fixed bad BSON when writing long strings of complex UTF8 characters
-Fixed error not being raised for additional content in JSON string for JArray.Parse and JObject.Parse
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Newtonsoft.Json.Converters
|
||||
|
||||
if (CamelCaseText)
|
||||
{
|
||||
var names = resolvedEnumName.Split(',').Select(item => StringUtils.ToCamelCase(item.Trim()));
|
||||
string[] names = resolvedEnumName.Split(',').Select(item => StringUtils.ToCamelCase(item.Trim())).ToArray();
|
||||
resolvedEnumName = string.Join(", ", names);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user