单项选择题

接受一个标准格式的JSON对象,可以将JSON对象序列化成JSON对符串的方法是()

A.JSON.toString(jsonobj)
B.JSON.stringify(jsonobj)
C.JSON.parse(jsonstr)
D.JSON.toJSon(jsonstr)