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); }