@@ -87,6 +87,9 @@ gNullaryParseJSONObjectWithSingleField = genericParseJSON optsObjectWithSingleFi
8787thSomeTypeToJSON2ElemArray :: SomeType Int -> Value
8888thSomeTypeToJSON2ElemArray = $(mkToJSON opts2ElemArray ''SomeType)
8989
90+thSomeTypeToEncoding2ElemArray :: SomeType Int -> Encoding
91+thSomeTypeToEncoding2ElemArray = $(mkToEncoding opts2ElemArray ''SomeType)
92+
9093thSomeTypeParseJSON2ElemArray :: Value -> Parser (SomeType Int)
9194thSomeTypeParseJSON2ElemArray = $(mkParseJSON opts2ElemArray ''SomeType)
9295
@@ -94,15 +97,24 @@ thSomeTypeParseJSON2ElemArray = $(mkParseJSON opts2ElemArray ''SomeType)
9497thSomeTypeToJSONTaggedObject :: SomeType Int -> Value
9598thSomeTypeToJSONTaggedObject = $(mkToJSON optsTaggedObject ''SomeType)
9699
100+thSomeTypeToEncodingTaggedObject :: SomeType Int -> Encoding
101+thSomeTypeToEncodingTaggedObject = $(mkToEncoding optsTaggedObject ''SomeType)
102+
97103thSomeTypeParseJSONTaggedObject :: Value -> Parser (SomeType Int)
98104thSomeTypeParseJSONTaggedObject = $(mkParseJSON optsTaggedObject ''SomeType)
99105
100106
101107thSomeTypeToJSONObjectWithSingleField :: SomeType Int -> Value
102−thSomeTypeToJSONObjectWithSingleField = $(mkToJSON optsObjectWithSingleField ''SomeType)
108+thSomeTypeToJSONObjectWithSingleField =
109+ $(mkToJSON optsObjectWithSingleField ''SomeType)
110+
111+thSomeTypeToEncodingObjectWithSingleField :: SomeType Int -> Encoding
112+thSomeTypeToEncodingObjectWithSingleField =
113+ $(mkToEncoding optsObjectWithSingleField ''SomeType)
103114
104115thSomeTypeParseJSONObjectWithSingleField :: Value -> Parser (SomeType Int)
105−thSomeTypeParseJSONObjectWithSingleField = $(mkParseJSON optsObjectWithSingleField ''SomeType)
116+thSomeTypeParseJSONObjectWithSingleField =
117+ $(mkParseJSON optsObjectWithSingleField ''SomeType)
106118
107119
108120gSomeTypeToJSON2ElemArray :: SomeType Int -> Value