From 2431f10a8b00eab6145e1afa9399b3af255f6369 Mon Sep 17 00:00:00 2001 From: Harald Wolff Date: Sat, 9 Dec 2017 14:31:16 +0100 Subject: [PATCH] Added KeyValue --- sharp.json.csproj | 2 ++ simple/KeyValue.cs | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 simple/KeyValue.cs diff --git a/sharp.json.csproj b/sharp.json.csproj index 262fae1..7c7319f 100644 --- a/sharp.json.csproj +++ b/sharp.json.csproj @@ -48,6 +48,7 @@ + @@ -70,6 +71,7 @@ + diff --git a/simple/KeyValue.cs b/simple/KeyValue.cs new file mode 100644 index 0000000..ec93d9c --- /dev/null +++ b/simple/KeyValue.cs @@ -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; + } + + } +}