{"id":26269,"date":"2020-09-30T11:56:32","date_gmt":"2020-09-30T09:56:32","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=26269"},"modified":"2020-09-30T11:57:01","modified_gmt":"2020-09-30T09:57:01","slug":"serializzazione-json-della-riga-corrente-di-una-qwtable","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/serializzazione-json-della-riga-corrente-di-una-qwtable\/","title":{"rendered":"Serializzazione JSON della riga corrente di una QWTable"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">' Il seguente frammento di codice assegna alla variabile \"json\" la serializzaione della riga corrente della QWTable contenuta nella variabile \"d\"\r\n\r\ndim json as string\r\ndim i as integer\r\nDim row As new system.collections.generic.Dictionary(Of String, Object) \r\n\r\nfor i=1 to d.rowset.fields.count()\r\n    row.add(d.rowset.fields(i).fieldname,d.rowset.fields(i).value)\r\nnext\r\n\r\njson=Newtonsoft.Json.JsonConvert.SerializeObject(row)\t\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8216; Il seguente frammento di codice assegna alla variabile &#8220;json&#8221; la serializzaione della riga corrente della QWTable contenuta nella variabile &#8220;d&#8221; dim json as string dim i as integer Dim row As new system.collections.generic.Dictionary(Of String, Object) for i=1 to d.rowset.fields.count() row.add(d.rowset.fields(i).fieldname,d.rowset.fields(i).value) next json=Newtonsoft.Json.JsonConvert.SerializeObject(row)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71,82],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/26269"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=26269"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/26269\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=26269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=26269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=26269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}