Added KeyValue

master
Harald Wolff 2017-12-09 14:31:16 +01:00
parent 99dcf17086
commit 2431f10a8b
2 changed files with 22 additions and 0 deletions

View File

@ -48,6 +48,7 @@
<Compile Include="attributes\JSONClassPolicy.cs" />
<Compile Include="attributes\JSONField.cs" />
<Compile Include="JSONConverter.cs" />
<Compile Include="simple\KeyValue.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\sharp-extensions\sharp.extensions.csproj">
@ -70,6 +71,7 @@
<ItemGroup>
<Folder Include="network\" />
<Folder Include="attributes\" />
<Folder Include="simple\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>

20
simple/KeyValue.cs 100644
View File

@ -0,0 +1,20 @@
using System;
namespace sharp.json.simple
{
public class KeyValue
{
public String Key;
public String Value;
private KeyValue()
{
}
public KeyValue(string key,string value = "")
{
Key = key;
Value = value;
}
}
}