Add JSON parse source gen (#9)

This commit is contained in:
Patrick Stevens
2023-12-27 11:46:12 +00:00
committed by GitHub
parent 055aad8c5e
commit 39d603c317
22 changed files with 882 additions and 145 deletions

View File

@@ -0,0 +1,19 @@
namespace ConsumePlugin
type ParseState =
| AwaitingKey
| AwaitingValue of string
/// My whatnot
[<MyriadPlugin.RemoveOptions>]
type RecordType =
{
/// A thing!
A : int option
/// Another thing!
B : string
/// Yet another thing!
C : float list
}
static member DefaultA () : int = 3