Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[wm - android] suggestion assign Json object to structure (no replies)

$
0
0
This is suggestion assigning json object into a structure ?

for example the following json object
m_str = [
{
"RS": "OK",
"DT": "UgAnjCLtit1de24at5ML2jamXsinVN5++cwIaFMTO"
}
]

st_Json is structure
RS is string
DT is string
end

m_st is st_json = m_str

I can access the values m_st.RS or m_st.DT

This method remind me of clarion where you can assign string into structure and clarion auto filled /divide by the length

in nodejs, json object is auto parsed by javascript interpreter .
I can access req.body['RS']

Viewing all articles
Browse latest Browse all 1914

Trending Articles