2018-04-24 01:31:01 +10:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using System.Collections.Generic;
|
2018-12-13 15:08:12 +01:00
|
|
|
|
using Umbraco.Core.Serialization;
|
2018-04-24 01:31:01 +10:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The content item 1:M data that is serialized to JSON
|
|
|
|
|
|
/// </summary>
|
2018-04-25 15:55:27 +02:00
|
|
|
|
internal class ContentNestedData
|
2018-04-24 01:31:01 +10:00
|
|
|
|
{
|
|
|
|
|
|
[JsonProperty("properties")]
|
2018-12-13 15:08:12 +01:00
|
|
|
|
[JsonConverter(typeof(CaseInsensitiveDictionaryConverter<PropertyData[]>))]
|
2018-04-24 01:31:01 +10:00
|
|
|
|
public Dictionary<string, PropertyData[]> PropertyData { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("cultureData")]
|
2018-12-13 15:08:12 +01:00
|
|
|
|
[JsonConverter(typeof(CaseInsensitiveDictionaryConverter<CultureVariation>))]
|
2018-04-24 01:31:01 +10:00
|
|
|
|
public Dictionary<string, CultureVariation> CultureData { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|