Git Product home page Git Product logo

Comments (4)

nixzhu avatar nixzhu commented on June 16, 2024

from baby.

Josscii avatar Josscii commented on June 16, 2024

找到原因了,我的 json 中,含有这样的键值对:

"source": "<a href=\"http://app.weibo.com/t/feed/6vtZb0\" rel="nofollow">微博 weibo.com"

在粘贴到 baby 里面后,点击 format 会自动去掉 \,导致格式反而不对,你可以测试一下,目测应该是 bug。

from baby.

Josscii avatar Josscii commented on June 16, 2024

详细的 json 在这里:

{
            "created_at": "Tue Sep 19 00:00:22 +0800 2017",
            "id": 4153480669181073,
            "mid": "4153480669181073",
            "idstr": "4153480669181073",
            "text": "Hello开车的朋友们,如果在行驶途中看到了背橙色书包的小朋友,请放慢车速,因为他们是有听力障碍的小朋友 。[爱心]我接力[拳头] ​​​​",
            "textLength": 129,
            "source_allowclick": 0,
            "source_type": 1,
            "source": "<a href=\"http://app.weibo.com/t/feed/6vtZb0\" rel=\"nofollow\">微博 weibo.com</a>",
            "favorited": false,
            "truncated": false,
            "in_reply_to_status_id": "",
            "in_reply_to_user_id": "",
            "in_reply_to_screen_name": "",
            "pic_urls": [
                {
                    "thumbnail_pic": "http://wx4.sinaimg.cn/thumbnail/006Nx4tagy1fjo5ryrtp7j30go0kkt95.jpg"
                },
                {
                    "thumbnail_pic": "http://wx1.sinaimg.cn/thumbnail/006Nx4tagy1fjo5rzgnrsj30hs0pswfh.jpg"
                }
            ],
            "thumbnail_pic": "http://wx4.sinaimg.cn/thumbnail/006Nx4tagy1fjo5ryrtp7j30go0kkt95.jpg",
            "bmiddle_pic": "http://wx4.sinaimg.cn/bmiddle/006Nx4tagy1fjo5ryrtp7j30go0kkt95.jpg",
            "original_pic": "http://wx4.sinaimg.cn/large/006Nx4tagy1fjo5ryrtp7j30go0kkt95.jpg",
            "geo": null,
            "is_paid": false,
            "mblog_vip_type": 0,
            "user": {
                "id": 6228719464,
                "idstr": "6228719464",
                "class": 1,
                "screen_name": "那迟温",
                "name": "那迟温",
                "province": "46",
                "city": "1000",
                "location": "海南",
                "description": "岁月还漫长终会有一人陪你骑马喝酒走四方",
                "url": "",
                "profile_image_url": "http://tvax2.sinaimg.cn/crop.0.0.180.180.50/006Nx4taly8ff5r7h6syqj305k05kmx1.jpg",
                "profile_url": "u/6228719464",
                "domain": "",
                "weihao": "",
                "gender": "f",
                "followers_count": 58,
                "friends_count": 356,
                "pagefriends_count": 0,
                "statuses_count": 27,
                "favourites_count": 0,
                "created_at": "Mon May 01 12:32:54 +0800 2017",
                "following": false,
                "allow_all_act_msg": false,
                "geo_enabled": true,
                "verified": false,
                "verified_type": -1,
                "remark": "",
                "insecurity": {
                    "sexual_content": false
                },
                "ptype": 0,
                "allow_all_comment": true,
                "avatar_large": "http://tvax2.sinaimg.cn/crop.0.0.180.180.180/006Nx4taly8ff5r7h6syqj305k05kmx1.jpg",
                "avatar_hd": "http://tvax2.sinaimg.cn/crop.0.0.180.180.1024/006Nx4taly8ff5r7h6syqj305k05kmx1.jpg",
                "verified_reason": "",
                "verified_trade": "",
                "verified_reason_url": "",
                "verified_source": "",
                "verified_source_url": "",
                "follow_me": false,
                "like": false,
                "like_me": false,
                "online_status": 0,
                "bi_followers_count": 2,
                "lang": "zh-cn",
                "star": 0,
                "mbtype": 0,
                "mbrank": 0,
                "block_word": 0,
                "block_app": 0,
                "credit_score": 80,
                "user_ability": 0,
                "urank": 6,
                "story_read_state": -1,
                "vclub_member": 0
            },
            "reposts_count": 132,
            "comments_count": 2,
            "attitudes_count": 0,
            "isLongText": false,
            "mlevel": 0,
            "visible": {
                "type": 0,
                "list_id": 0
            },
            "biz_feature": 0,
            "hasActionTypeCard": 0,
            "darwin_tags": [],
            "hot_weibo_tags": [],
            "text_tag_tips": [],
            "userType": 0,
            "more_info_type": 0,
            "positive_recom_flag": 0,
            "gif_ids": "",
            "is_show_bulletin": 2,
            "comment_manage_info": {
                "comment_permission_type": -1
            }
}

from baby.

nixzhu avatar nixzhu commented on June 16, 2024

from baby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.