How do I export and then import a web map's json with python? I took a quick look at the GIS module... but I did not see the right call.
For exporting, use Item.get_data().
For importing? As @DanPatterson 's linked post mentions, you'll probably want to use the json module to make sure your JSON is formatted properly. To pass your modified JSON back to the map, just use Item.update(item_properties={'text':your_JSON_obj}).
@jcarlson thanks! that did the trick
related links using the json module
Solved: Can't create a valid Web Map from a JSON definitio... - Esri Community
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.