i had got data from transaction item and i want to deserralize
Hey @MitheshBolla
Kindly use .ToString
at the end please…
Reason : SpecificContent
usually returns an object whereas Deserialize
only accepts string as input
Thanks
#nK
if i use .tostring also its trowing error
Hey @MitheshBolla
Just change the [ to (
Both open and close brackets.
Sorry just noticed it.
Thanks
#nK
its C#
Hey @MitheshBolla
Please find the below statement for C#
TransactionItem.SpecificContent["key"].ToString()
Thanks
#nK
Kindly use double quotes. Add the full statement and let know if still error occurs.
Thanks
#nK
even if it is in double quotes and with.tostring erros has occured
Attach your code please…
Thanks
#nK
ensure that the brackets are also used as ToString() check for the right cases (lower/upper cases) feel free to check the need of closing the statement with a semicolon ;
new Dictionary<String, Object>();
open new topic on your last question, when you need further help on this
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.