Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
末尾のコンマに対応する Python JSON パーサーはありますか?
(私は外部ソースから「JSON」を消費していて、それを制御できません。)
PyYAMLを取得します。JSONはYAMLのサブセットであるため、YAMLパーサーはほとんどのJSONを解析する必要があります。YAMLの文法では、シーケンスの末尾にコンマを使用できます。