<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.yate.ro/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Javascript_JPath</id>
		<title>Javascript JPath - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Javascript_JPath"/>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Javascript_JPath&amp;action=history"/>
		<updated>2026-05-22T19:57:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Javascript_JPath&amp;diff=8463&amp;oldid=prev</id>
		<title>Marian at 10:39, 9 September 2024</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Javascript_JPath&amp;diff=8463&amp;oldid=prev"/>
				<updated>2024-09-09T10:39:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:39, 9 September 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Return:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Path item string (unescaped, may be empty), 'undefined' if index is out of range. Index may be out of range for empty or invalid paths.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Path item string (unescaped, may be empty), 'undefined' if index is out of range. Index may be out of range for empty or invalid paths.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Javascript]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Marian</name></author>	</entry>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Javascript_JPath&amp;diff=8299&amp;oldid=prev</id>
		<title>Marian: Created page with &quot;Javascript JPath as specified in RFC 6901.  Notes: * Path items separator is slash (/) character * Path may not start with slash (/) character * Escape char is tilde (~). The ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Javascript_JPath&amp;diff=8299&amp;oldid=prev"/>
				<updated>2021-10-27T10:50:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Javascript JPath as specified in RFC 6901.  Notes: * Path items separator is slash (/) character * Path may not start with slash (/) character * Escape char is tilde (~). The ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Javascript JPath as specified in RFC 6901.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* Path items separator is slash (/) character&lt;br /&gt;
* Path may not start with slash (/) character&lt;br /&gt;
* Escape char is tilde (~). The following characters MUST be escaped in path item names:&lt;br /&gt;
** Tilde (~): ~0&lt;br /&gt;
** Slash (/): ~1&lt;br /&gt;
&lt;br /&gt;
== Constructor ==&lt;br /&gt;
&lt;br /&gt;
* '''new JPath(str)'''&amp;lt;br&amp;gt;&lt;br /&gt;
Create a new JPath object.&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters:&amp;lt;br&amp;gt;&lt;br /&gt;
'''str''': String with JSON path&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
* '''valid()'''&lt;br /&gt;
Check if path is valid.&amp;lt;br&amp;gt;&lt;br /&gt;
Return:&amp;lt;br&amp;gt;&lt;br /&gt;
True if path is valid, false otherwise&lt;br /&gt;
&lt;br /&gt;
* '''getItems()'''&lt;br /&gt;
Retrieve path item(s).&amp;lt;br&amp;gt;&lt;br /&gt;
Return:&amp;lt;br&amp;gt;&lt;br /&gt;
Array of strings. Each item contains its unescaped value. Array may be empty for empty or invalid paths&lt;br /&gt;
&lt;br /&gt;
* '''count()'''&lt;br /&gt;
Retrieve the number of items in path.&amp;lt;br&amp;gt;&lt;br /&gt;
Return:&amp;lt;br&amp;gt;&lt;br /&gt;
Number of items in path, 0 if path is empty or invalid&lt;br /&gt;
&lt;br /&gt;
* '''at(idx)'''&lt;br /&gt;
Retrieve the path item at given index.&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters:&amp;lt;br&amp;gt;&lt;br /&gt;
'''idx''': 0 based index to retrieve&amp;lt;br&amp;gt;&lt;br /&gt;
Return:&amp;lt;br&amp;gt;&lt;br /&gt;
Path item string (unescaped, may be empty), 'undefined' if index is out of range. Index may be out of range for empty or invalid paths.&lt;/div&gt;</summary>
		<author><name>Marian</name></author>	</entry>

	</feed>