Boost Spirit 2.4.2: Cannot extract a string
问题 Following the resolved question Boost Spirit: Error C2664, Cannot convert 'const boost::phoenix::actor<Eval>' to 'char' , I have another question: Why using the code below for js_key and js_string, I cannot capture print the strings in the format "str" or 'str'. Those always return blank! For example: Input: {"a":"aa", b:'c'} Actual output: { str: str: str: b str: Successfully parsed the input as JSON! Expected output: { str: a str: aa str: b str: c Successfully parsed the input as JSON!