-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.toon
More file actions
55 lines (46 loc) · 932 Bytes
/
Copy pathexample.toon
File metadata and controls
55 lines (46 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Example TOON configuration file
# TOON v3.0 - Token-Oriented Object Notation
title: TOON Example Configuration
version: 1
# Database configuration
database:
server: localhost
port: 5432
enabled: true
username: admin
password: secret123
# Application settings
app:
name: MyApplication
debug: false
max_connections: 100
timeout: 30.5
# List of servers (tabular array format)
servers[2]:
{ip,role}
192.168.1.10, primary
192.168.1.11, backup
# Simple array
features[4]:
fast
secure
scalable
reliable
# Nested configuration
monitoring:
enabled: true
interval: 60
endpoints[3]:
/health
/metrics
/status
alerts:
email: admin@example.com
sms: +1234567890
threshold: 90
# Multi-line values
description: "This is a multi-line description
that spans multiple lines and demonstrates
TOON's string handling capabilities."
# Comments are ignored
# Another comment line