diff --git a/ttcn/LibJson/ttcn/Json.ttcn b/ttcn/LibJson/ttcn/Json.ttcn index 7fb36ef07dca8d1dd1b3f1a13de786d78a1109cc..ff45ceb51d25e142f2511e093036f04fef153ac1 100644 --- a/ttcn/LibJson/ttcn/Json.ttcn +++ b/ttcn/LibJson/ttcn/Json.ttcn @@ -51,6 +51,17 @@ module Json { type integer Integer (-infinity .. infinity) /*with { variant "Json:integer" }*/; + // Unsigned Integer type + type integer UInteger (0 .. infinity) /*with { + variant "Json:integer" + }*/; + // Unsigned char type + type integer UInt8 (0 .. 255) /*with { + variant "Json:integer" + }*/; + type integer UInt16 (0 .. 65535) /*with { + variant "Json:integer" + }*/; // String type type utf8string String /*with { variant "Json:string" @@ -103,11 +114,17 @@ module Json { }*/ type record of Json.Integer IntArray; /*with { variant "Json:array" - } - type record of Json.Bool BoolArray with { + }*/ + type record of Json.UInteger UIntArray; /*with { variant "Json:array" - } - type record of Json.Object ObjArray with { + }*/ + type record of Json.Bool BoolArray; /*with { + variant "Json:array" + }*/ + type record of Json.AnyURI AnyURIArray; /*with { + variant "Json:array" + }*/ + /*type record of Json.Object ObjArray; with { variant "Json:array" }*/ // Object member