/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace Carbon.Json
{
using System;
using System.Collections.Generic;
public partial class JsonNode
{
///
/// Returns the content of this node as the underlying value.
/// Will default to the string representation if not overridden in child classes.
///
/// an object with the underlying value of the node.
internal virtual object ToValue() {
return this.ToString();
}
}
}