Web technologies Questions | AngularJS Quiz | Set-2 | Question 13
Which one is below correct syntax for JSON Filter?
(A) {{ Json | json : spacing }}
(B) {{ object | json :expression }}
(C) {{ object | json : spacing }}
(D) {{ currency_expression }}
Answer: (C)
Explanation: The JSON filter in AngularJs is used to convert a JavaScript object into a JSON. string.JavaScript object that we are using can be of any kind of JavaScript Object.
Quiz of this Question
Please comment below if you find anything wrong in the above post