Skip to content

Commit 30bfc17

Browse files
committed
Add toJson() method of Collection to README
1 parent bff6262 commit 30bfc17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ Alias for `toArray()`.
135135

136136
Returns an array of all of the items in the collection.
137137

138+
##### `toJson() : string`
139+
140+
Returns collection as JSON.
141+
138142
##### `flatten() : array`
139143

140144
Flatten all of the items in the collection using dot (.) notation.

0 commit comments

Comments
 (0)