// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
#if NEWTONSOFT_JSON
using System;
namespace GLTFast.Newtonsoft.Schema
{
///
/// Represents a JSON object, containing key-value properties of arbitrary type.
///
public interface IJsonObject
{
///
/// Tries find a property of a and cast its to type .
///
/// Property key
/// Resulting value
/// Desired target type
/// True if the property was found and successfully cast to type T. False otherwise.
bool TryGetValue(string key, out T value);
}
}
#endif