Opc.Ua.JsonDecoder.JsonDecoder C# (CSharp) Method

JsonDecoder() public method

public JsonDecoder ( string json, ServiceMessageContext context ) : System
json string
context ServiceMessageContext
return System
        public JsonDecoder(string json, ServiceMessageContext context)
        {
            if (context == null) throw new ArgumentNullException("context");
            Initialize();

            m_context = context;
            m_reader = new JsonTextReader(new StringReader(json));
            m_root = ReadObject();
            m_stack = new Stack<object>();
            m_stack.Push(m_root);
        }

Same methods

JsonDecoder::JsonDecoder ( System systemType, JsonTextReader reader, ServiceMessageContext context ) : System