json - parsing text in R -


i have parse third party supplied text in following format:

"{ \"responseobjects\" : [ { \"iscorrect\" : \"f\" , \"displaytext\" : \"8,11\" , \"displayorder\" : 1} , { \"iscorrect\" : \"f\" , \"displaytext\" : \"9,13\" , \"displayorder\" : 2} , { \"iscorrect\" : \"t\" , \"displaytext\" : \"'11, 13\" , \"displayorder\" : 3} , { \"iscorrect\" : \"f\" , \"displaytext\" : \"'12,15\" , \"displayorder\" : 4}] , \"stem\" : { \"displaytext\" : \"extend numerical pattern: 1, 2, 3, 5, 7, ____, ____\"}}"

the \ escape characters. entire text above cell in dataframe (read database)

i need grab text comes after "stem", i.e., every entry have key word "stem" : { "display test" : "actual text"} } suggestions on how can grab "actual text" in sentence. (all other text not relevant app) thank much.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -