[ / / / / / / / / / / / / / ] [ dir / bbbb / fur / htg / ita / jewess / russian / strek / wai ][Options][ watchlist ]

/prog/ - Programming

Programming board
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

ed0033 (1) No.4862[Watch Thread][Show All Posts]

In F#, how can I generically turn this (probably invalid) JSON:


[
{
filter : {
subject : "foo"
},
action : {
assign_to : "bar"
}
},
{
filter : {
author : "foo"
},
action : {
status : "bar"
}
}
]

into this (pseudocode):


match ticket with
{subject="foo"} -> updateticket(assign_to="bar")
{author="foo"} -> updateticket(set_status="bar")



[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
0 replies | 0 images | 1 UIDs | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / bbbb / fur / htg / ita / jewess / russian / strek / wai ][ watchlist ]