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.
プロパティの特定の値を確認するにはどうすればよいですか??
IE: の JSONT バージョン
if(someProperty == someValue){ //Do some stuff }
if のフロー制御構文は次のとおりです。
{.if pagination} // Do some stuff {.end}
ただし、if/equals を実行する場合は、次のようにします。
{.equal? @index 1} // Do some stuff {.end}
とはいえ、JSONT は、特定の実装に取り組んでいる活発なコミュニティのないフォークされた言語であるため、構文はさまざまです。この場合、Squarespace の実装について言及しています。