4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

クラスにバインディングしてYAMLの読み書き

Last updated at Posted at 2013-01-24

ツリー構造かつオブジェクト参照のあるデータ構造をYAML形式でファイルに入出力するサンプルです。
同じYAMLファイルをC#およびPythonから読んでいます。

  • Company クラスが Employee のリストと Group のリストを持っている
  • Group クラスが Employee を持っている
  • test.yml の Company オブジェクトは、Employees[0] と Groups[0].Employees[0] が同じデータとなっている。
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?