Added KeyValue
parent
99dcf17086
commit
2431f10a8b
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue