sdk/dotnet/src/Microsoft.Datasync.Client/Http/ServiceHttpClient.cs
/// <summary>
/// Tries to parse a <see cref="JToken"/>; on failure, return <c>null</c>.
/// </summary>
/// <param name="content">The JSON content to attempt to parse.</param>
/// <returns>The parsed <see cref="JToken"/> or <c>null</c>.</returns>
Tries to parse a ; on failure, return null
Tries to parse a ; on failure return null
private static JToken ParseOrDefault(string content)
        {
            try
            {
                return JToken.Parse(content);
            }
            catch
            {
                return null;
            }
        }
private static JToken ParseOrDefault ( string content ) { try { return JToken . Parse ( content ) ; } catch { return null ; } }
Tries to parse a ; on failure, return null
Tries to parse a ; on failure return null
The parsed  or null
The parsed or null
content
string
The JSON content to attempt to parse.
The JSON content to attempt to parse .