Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIXED BUG: List<> deserialization errors when #define SIMPLE_JSON_NO_LINQ_EXPRESSION #76

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Install-Package SimpleJson
* Windows Phone 7.1 (Mango)
* Windows Phone 8
* Portable Class Libraries (PCL)
* Unity

**Note:** By default SimpleJson expects `System.Linq`. If you are targeting older version of .NET framework (.net < 3.0 or WP7.0) you will need to add `#define SIMPLE_JSON_NO_LINQ_EXPRESSION`.

Expand Down
18 changes: 17 additions & 1 deletion src/SimpleJson.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.20827.3
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{AEDAD4B4-9F2C-4992-8CD6-A43DFDFF7172}"
EndProject
Expand Down Expand Up @@ -42,6 +42,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimleJson.Tests-WindowsStor
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleJson-Portable-WP8WinStoreNet45", "SimpleJson\SimpleJson-Portable-WP8WinStoreNet45.csproj", "{EC52A094-1CDB-4F5D-8A8A-86F501FC601C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleJson-Unity", "SimpleJson\SimpleJson-Unity.csproj", "{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -288,6 +290,20 @@ Global
{EC52A094-1CDB-4F5D-8A8A-86F501FC601C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{EC52A094-1CDB-4F5D-8A8A-86F501FC601C}.Release|x64.ActiveCfg = Release|Any CPU
{EC52A094-1CDB-4F5D-8A8A-86F501FC601C}.Release|x86.ActiveCfg = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|ARM.ActiveCfg = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|x64.ActiveCfg = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Debug|x86.ActiveCfg = Debug|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|Any CPU.Build.0 = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|ARM.ActiveCfg = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|x64.ActiveCfg = Release|Any CPU
{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
49 changes: 49 additions & 0 deletions src/SimpleJson/SimpleJson-Unity.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B6DF8C2D-A8F8-4FDB-B0E5-DFEEAA76CFE6}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SimpleJson</RootNamespace>
<AssemblyName>SimpleJson</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Unity\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;SIMPLE_JSON_NO_LINQ_EXPRESSION;SIMPLE_JSON_DATACONTRACT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Unity\Release\</OutputPath>
<DefineConstants>TRACE;SIMPLE_JSON_NO_LINQ_EXPRESSION;SIMPLE_JSON_DATACONTRACT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Runtime.Serialization" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SimpleJson.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading