Skip to content

sample ajax方法传输 复杂json数据 转化json失败 #22

Description

@yxxd1983

/sample/src/main/java/com/apkfuns/jsbridgesample/module/ServiceModule.java
ajax 方法
从服务器端返回的 复杂json字符串(含有html编辑器的数据),js接收后转化为json会失败。
将返回结果 改为 base64字符串 ,js再反向转 就正常了。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions