.net - Efficient way to extract key values using C# -
we token key values in following format shown below. efficient way extract amount , currency code key values?. trying use split method not sure if best way.
"{\"amount\":12.0,\"currencycode\":\"840\"}"
use json.net http://www.newtonsoft.com/json . popular json parser .net. can call jobject.parse ("yourtext"); , can inspect json. documentation, please follow link http://www.newtonsoft.com/json/help/html/introduction.htm.
happy coding!
Comments
Post a Comment