JSON encode/decode base64 encode/decode in JavaScript

后端 未结 5 2076
面向向阳花
面向向阳花 2021-01-31 18:44

Is there JSON encode/decode base64 encode/decode function in JavaScript?

5条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 18:55

    I don't think there's one built in, but here's the functions for JSON in jquery: (can't post links since I'm new)
    jQuery.getJSON
    jQuery.parseJSON

    and here's a link for base64 encoding in javascript.
    http://www.webtoolkit.info/javascript-base64.html

提交回复
热议问题