From fc840ac2d2270a2ba9628e1082145a410633b80c Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 10 Oct 2012 14:13:06 -0400 Subject: [PATCH] Update docs to v0.6.0 --- latest/api/allclasses-frame.html | 4 +- latest/api/allclasses-noframe.html | 4 +- latest/api/com/typesafe/config/Config.html | 4 +- .../config/ConfigException.BadPath.html | 4 +- .../config/ConfigException.BadValue.html | 4 +- .../config/ConfigException.BugOrBroken.html | 4 +- .../config/ConfigException.Generic.html | 4 +- .../typesafe/config/ConfigException.IO.html | 4 +- .../config/ConfigException.Missing.html | 4 +- .../config/ConfigException.NotResolved.html | 4 +- .../typesafe/config/ConfigException.Null.html | 4 +- .../config/ConfigException.Parse.html | 4 +- ...onfigException.UnresolvedSubstitution.html | 4 +- .../ConfigException.ValidationFailed.html | 4 +- .../ConfigException.ValidationProblem.html | 4 +- .../config/ConfigException.WrongType.html | 4 +- .../com/typesafe/config/ConfigException.html | 9 +- .../com/typesafe/config/ConfigFactory.html | 57 +- .../typesafe/config/ConfigIncludeContext.html | 4 +- .../com/typesafe/config/ConfigIncluder.html | 4 +- .../config/ConfigIncluderClasspath.html | 4 +- .../typesafe/config/ConfigIncluderFile.html | 4 +- .../typesafe/config/ConfigIncluderURL.html | 4 +- .../api/com/typesafe/config/ConfigList.html | 4 +- .../com/typesafe/config/ConfigMergeable.html | 4 +- .../api/com/typesafe/config/ConfigObject.html | 4 +- .../api/com/typesafe/config/ConfigOrigin.html | 4 +- .../typesafe/config/ConfigParseOptions.html | 4 +- .../com/typesafe/config/ConfigParseable.html | 4 +- .../typesafe/config/ConfigRenderOptions.html | 79 +- .../typesafe/config/ConfigResolveOptions.html | 4 +- .../api/com/typesafe/config/ConfigSyntax.html | 4 +- .../api/com/typesafe/config/ConfigUtil.html | 4 +- .../api/com/typesafe/config/ConfigValue.html | 4 +- .../typesafe/config/ConfigValueFactory.html | 4 +- .../com/typesafe/config/ConfigValueType.html | 4 +- .../com/typesafe/config/package-frame.html | 4 +- .../com/typesafe/config/package-summary.html | 4 +- .../api/com/typesafe/config/package-tree.html | 7 +- latest/api/constant-values.html | 4 +- latest/api/deprecated-list.html | 4 +- latest/api/help-doc.html | 4 +- latest/api/index-all.html | 17 +- latest/api/index.html | 2 +- latest/api/overview-tree.html | 7 +- latest/api/serialized-form.html | 34 +- v0.6.0/META-INF/MANIFEST.MF | 2 + v0.6.0/allclasses-frame.html | 97 + v0.6.0/allclasses-noframe.html | 97 + v0.6.0/com/typesafe/config/Config.html | 1439 +++++++++++++++ .../config/ConfigException.BadPath.html | 348 ++++ .../config/ConfigException.BadValue.html | 333 ++++ .../config/ConfigException.BugOrBroken.html | 296 +++ .../config/ConfigException.Generic.html | 289 +++ .../typesafe/config/ConfigException.IO.html | 293 +++ .../config/ConfigException.Missing.html | 335 ++++ .../config/ConfigException.NotResolved.html | 295 +++ .../typesafe/config/ConfigException.Null.html | 299 +++ .../config/ConfigException.Parse.html | 296 +++ ...onfigException.UnresolvedSubstitution.html | 295 +++ .../ConfigException.ValidationFailed.html | 304 ++++ .../ConfigException.ValidationProblem.html | 307 ++++ .../config/ConfigException.WrongType.html | 336 ++++ .../com/typesafe/config/ConfigException.html | 464 +++++ v0.6.0/com/typesafe/config/ConfigFactory.html | 1598 +++++++++++++++++ .../typesafe/config/ConfigIncludeContext.html | 254 +++ .../com/typesafe/config/ConfigIncluder.html | 255 +++ .../config/ConfigIncluderClasspath.html | 216 +++ .../typesafe/config/ConfigIncluderFile.html | 216 +++ .../typesafe/config/ConfigIncluderURL.html | 216 +++ v0.6.0/com/typesafe/config/ConfigList.html | 257 +++ .../com/typesafe/config/ConfigMergeable.html | 242 +++ v0.6.0/com/typesafe/config/ConfigObject.html | 487 +++++ v0.6.0/com/typesafe/config/ConfigOrigin.html | 346 ++++ .../typesafe/config/ConfigParseOptions.html | 491 +++++ .../com/typesafe/config/ConfigParseable.html | 265 +++ .../typesafe/config/ConfigRenderOptions.html | 476 +++++ .../typesafe/config/ConfigResolveOptions.html | 310 ++++ v0.6.0/com/typesafe/config/ConfigSyntax.html | 358 ++++ v0.6.0/com/typesafe/config/ConfigUtil.html | 306 ++++ v0.6.0/com/typesafe/config/ConfigValue.html | 461 +++++ .../typesafe/config/ConfigValueFactory.html | 400 +++++ .../com/typesafe/config/ConfigValueType.html | 387 ++++ v0.6.0/com/typesafe/config/package-frame.html | 125 ++ .../com/typesafe/config/package-summary.html | 392 ++++ v0.6.0/com/typesafe/config/package-tree.html | 193 ++ v0.6.0/constant-values.html | 142 ++ v0.6.0/deprecated-list.html | 142 ++ v0.6.0/help-doc.html | 209 +++ v0.6.0/index-all.html | 965 ++++++++++ v0.6.0/index.html | 36 + v0.6.0/overview-tree.html | 197 ++ v0.6.0/package-list | 1 + v0.6.0/resources/inherit.gif | Bin 0 -> 57 bytes v0.6.0/serialized-form.html | 382 ++++ v0.6.0/stylesheet.css | 29 + 96 files changed, 16737 insertions(+), 106 deletions(-) create mode 100644 v0.6.0/META-INF/MANIFEST.MF create mode 100644 v0.6.0/allclasses-frame.html create mode 100644 v0.6.0/allclasses-noframe.html create mode 100644 v0.6.0/com/typesafe/config/Config.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.BadPath.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.BadValue.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.BugOrBroken.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.Generic.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.IO.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.Missing.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.NotResolved.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.Null.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.Parse.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.UnresolvedSubstitution.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.ValidationFailed.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.ValidationProblem.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.WrongType.html create mode 100644 v0.6.0/com/typesafe/config/ConfigException.html create mode 100644 v0.6.0/com/typesafe/config/ConfigFactory.html create mode 100644 v0.6.0/com/typesafe/config/ConfigIncludeContext.html create mode 100644 v0.6.0/com/typesafe/config/ConfigIncluder.html create mode 100644 v0.6.0/com/typesafe/config/ConfigIncluderClasspath.html create mode 100644 v0.6.0/com/typesafe/config/ConfigIncluderFile.html create mode 100644 v0.6.0/com/typesafe/config/ConfigIncluderURL.html create mode 100644 v0.6.0/com/typesafe/config/ConfigList.html create mode 100644 v0.6.0/com/typesafe/config/ConfigMergeable.html create mode 100644 v0.6.0/com/typesafe/config/ConfigObject.html create mode 100644 v0.6.0/com/typesafe/config/ConfigOrigin.html create mode 100644 v0.6.0/com/typesafe/config/ConfigParseOptions.html create mode 100644 v0.6.0/com/typesafe/config/ConfigParseable.html create mode 100644 v0.6.0/com/typesafe/config/ConfigRenderOptions.html create mode 100644 v0.6.0/com/typesafe/config/ConfigResolveOptions.html create mode 100644 v0.6.0/com/typesafe/config/ConfigSyntax.html create mode 100644 v0.6.0/com/typesafe/config/ConfigUtil.html create mode 100644 v0.6.0/com/typesafe/config/ConfigValue.html create mode 100644 v0.6.0/com/typesafe/config/ConfigValueFactory.html create mode 100644 v0.6.0/com/typesafe/config/ConfigValueType.html create mode 100644 v0.6.0/com/typesafe/config/package-frame.html create mode 100644 v0.6.0/com/typesafe/config/package-summary.html create mode 100644 v0.6.0/com/typesafe/config/package-tree.html create mode 100644 v0.6.0/constant-values.html create mode 100644 v0.6.0/deprecated-list.html create mode 100644 v0.6.0/help-doc.html create mode 100644 v0.6.0/index-all.html create mode 100644 v0.6.0/index.html create mode 100644 v0.6.0/overview-tree.html create mode 100644 v0.6.0/package-list create mode 100644 v0.6.0/resources/inherit.gif create mode 100644 v0.6.0/serialized-form.html create mode 100644 v0.6.0/stylesheet.css diff --git a/latest/api/allclasses-frame.html b/latest/api/allclasses-frame.html index 32b07c7f..5d3e2fbf 100644 --- a/latest/api/allclasses-frame.html +++ b/latest/api/allclasses-frame.html @@ -2,12 +2,12 @@ - + All Classes - + diff --git a/latest/api/allclasses-noframe.html b/latest/api/allclasses-noframe.html index e25b4dab..a6473d91 100644 --- a/latest/api/allclasses-noframe.html +++ b/latest/api/allclasses-noframe.html @@ -2,12 +2,12 @@ - + All Classes - + diff --git a/latest/api/com/typesafe/config/Config.html b/latest/api/com/typesafe/config/Config.html index 31d85365..5e4cadd4 100644 --- a/latest/api/com/typesafe/config/Config.html +++ b/latest/api/com/typesafe/config/Config.html @@ -2,12 +2,12 @@ - + Config - + diff --git a/latest/api/com/typesafe/config/ConfigException.BadPath.html b/latest/api/com/typesafe/config/ConfigException.BadPath.html index 86f8daff..4c7772b4 100644 --- a/latest/api/com/typesafe/config/ConfigException.BadPath.html +++ b/latest/api/com/typesafe/config/ConfigException.BadPath.html @@ -2,12 +2,12 @@ - + ConfigException.BadPath - + diff --git a/latest/api/com/typesafe/config/ConfigException.BadValue.html b/latest/api/com/typesafe/config/ConfigException.BadValue.html index e6cec5ed..2623c026 100644 --- a/latest/api/com/typesafe/config/ConfigException.BadValue.html +++ b/latest/api/com/typesafe/config/ConfigException.BadValue.html @@ -2,12 +2,12 @@ - + ConfigException.BadValue - + diff --git a/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html b/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html index 8cb9dd98..9fdf9ed5 100644 --- a/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html +++ b/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html @@ -2,12 +2,12 @@ - + ConfigException.BugOrBroken - + diff --git a/latest/api/com/typesafe/config/ConfigException.Generic.html b/latest/api/com/typesafe/config/ConfigException.Generic.html index 4163544d..1f01822a 100644 --- a/latest/api/com/typesafe/config/ConfigException.Generic.html +++ b/latest/api/com/typesafe/config/ConfigException.Generic.html @@ -2,12 +2,12 @@ - + ConfigException.Generic - + diff --git a/latest/api/com/typesafe/config/ConfigException.IO.html b/latest/api/com/typesafe/config/ConfigException.IO.html index c3465231..b25bb9ad 100644 --- a/latest/api/com/typesafe/config/ConfigException.IO.html +++ b/latest/api/com/typesafe/config/ConfigException.IO.html @@ -2,12 +2,12 @@ - + ConfigException.IO - + diff --git a/latest/api/com/typesafe/config/ConfigException.Missing.html b/latest/api/com/typesafe/config/ConfigException.Missing.html index b3a78f7d..ea6d8cfa 100644 --- a/latest/api/com/typesafe/config/ConfigException.Missing.html +++ b/latest/api/com/typesafe/config/ConfigException.Missing.html @@ -2,12 +2,12 @@ - + ConfigException.Missing - + diff --git a/latest/api/com/typesafe/config/ConfigException.NotResolved.html b/latest/api/com/typesafe/config/ConfigException.NotResolved.html index 18978520..eb99c9d0 100644 --- a/latest/api/com/typesafe/config/ConfigException.NotResolved.html +++ b/latest/api/com/typesafe/config/ConfigException.NotResolved.html @@ -2,12 +2,12 @@ - + ConfigException.NotResolved - + diff --git a/latest/api/com/typesafe/config/ConfigException.Null.html b/latest/api/com/typesafe/config/ConfigException.Null.html index 391520e1..11134239 100644 --- a/latest/api/com/typesafe/config/ConfigException.Null.html +++ b/latest/api/com/typesafe/config/ConfigException.Null.html @@ -2,12 +2,12 @@ - + ConfigException.Null - + diff --git a/latest/api/com/typesafe/config/ConfigException.Parse.html b/latest/api/com/typesafe/config/ConfigException.Parse.html index 0fee259a..8ceb9ac9 100644 --- a/latest/api/com/typesafe/config/ConfigException.Parse.html +++ b/latest/api/com/typesafe/config/ConfigException.Parse.html @@ -2,12 +2,12 @@ - + ConfigException.Parse - + diff --git a/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html b/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html index 26139c4c..98a42493 100644 --- a/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html +++ b/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html @@ -2,12 +2,12 @@ - + ConfigException.UnresolvedSubstitution - + diff --git a/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html b/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html index 7b0e602b..d03429c4 100644 --- a/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html +++ b/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html @@ -2,12 +2,12 @@ - + ConfigException.ValidationFailed - + diff --git a/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html b/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html index 77988930..a568f32d 100644 --- a/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html +++ b/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html @@ -2,12 +2,12 @@ - + ConfigException.ValidationProblem - + diff --git a/latest/api/com/typesafe/config/ConfigException.WrongType.html b/latest/api/com/typesafe/config/ConfigException.WrongType.html index f1891545..db7b80d9 100644 --- a/latest/api/com/typesafe/config/ConfigException.WrongType.html +++ b/latest/api/com/typesafe/config/ConfigException.WrongType.html @@ -2,12 +2,12 @@ - + ConfigException.WrongType - + diff --git a/latest/api/com/typesafe/config/ConfigException.html b/latest/api/com/typesafe/config/ConfigException.html index 4ddb0e66..c25c8494 100644 --- a/latest/api/com/typesafe/config/ConfigException.html +++ b/latest/api/com/typesafe/config/ConfigException.html @@ -2,12 +2,12 @@ - + ConfigException - + @@ -104,7 +104,7 @@ Class ConfigException
-
public abstract class ConfigException
extends RuntimeException
+
public abstract class ConfigException
extends RuntimeException
implements Serializable

@@ -393,6 +393,9 @@ public + @@ -182,6 +182,15 @@ Contains static methods for creating +static void +invalidateCaches() + +
+          Reloads any cached configs, picking up changes to system properties for + example. + + + static Config load() @@ -758,7 +767,9 @@ public static load("application") in most cases. This configuration should be used by libraries and frameworks unless an application provides a different one.

- This method may return a cached singleton. + This method may return a cached singleton so will not see changes to + system properties or config files. (Use invalidateCaches() to + force it to reload.)

If the system properties config.resource, config.file, or config.url are set, then the @@ -954,6 +965,35 @@ public static

+invalidateCaches

+
+public static void invalidateCaches()
+
+
Reloads any cached configs, picking up changes to system properties for + example. Because a Config is immutable, anyone with a reference + to the old configs will still have the same outdated objects. However, + new calls to load() or defaultOverrides() or + defaultReference() may return a new object. +

+ This method is primarily intended for use in unit tests, for example, + that may want to update a system property then confirm that it's used + correctly. In many cases, use of this method may indicate there's a + better way to set up your code. +

+ Caches may be reloaded immediately or lazily; once you call this method, + the reload can occur at any time, even during the invalidation process. + So FIRST make the changes you'd like the caches to notice, then SECOND + call this method to invalidate caches. Don't expect that invalidating, + making changes, then calling load(), will work. Make changes + before you invalidate. +

+

+
+
+
+
+

empty

@@ -996,16 +1036,19 @@ public static System.getProperties(), parsed and converted as with
- parseProperties(java.util.Properties, com.typesafe.config.ConfigParseOptions). This method can return a global immutable
- singleton, so it's preferred over parsing system properties yourself.
-
+ parseProperties(java.util.Properties, com.typesafe.config.ConfigParseOptions).
+ 

+ This method can return a global immutable singleton, so it's preferred + over parsing system properties yourself.

load(java.lang.String) will include the system properties as overrides already, as will defaultReference() and defaultOverrides().

Because this returns a singleton, it will not notice changes to system - properties made after the first time this method is called. + properties made after the first time this method is called. Use + invalidateCaches() to force the singleton to reload if you + modify system properties.

diff --git a/latest/api/com/typesafe/config/ConfigIncludeContext.html b/latest/api/com/typesafe/config/ConfigIncludeContext.html index e8e1177c..fb7c3561 100644 --- a/latest/api/com/typesafe/config/ConfigIncludeContext.html +++ b/latest/api/com/typesafe/config/ConfigIncludeContext.html @@ -2,12 +2,12 @@ - + ConfigIncludeContext - + diff --git a/latest/api/com/typesafe/config/ConfigIncluder.html b/latest/api/com/typesafe/config/ConfigIncluder.html index 95df3acd..a97528a8 100644 --- a/latest/api/com/typesafe/config/ConfigIncluder.html +++ b/latest/api/com/typesafe/config/ConfigIncluder.html @@ -2,12 +2,12 @@ - + ConfigIncluder - + diff --git a/latest/api/com/typesafe/config/ConfigIncluderClasspath.html b/latest/api/com/typesafe/config/ConfigIncluderClasspath.html index 215c1755..c17a4a31 100644 --- a/latest/api/com/typesafe/config/ConfigIncluderClasspath.html +++ b/latest/api/com/typesafe/config/ConfigIncluderClasspath.html @@ -2,12 +2,12 @@ - + ConfigIncluderClasspath - + diff --git a/latest/api/com/typesafe/config/ConfigIncluderFile.html b/latest/api/com/typesafe/config/ConfigIncluderFile.html index 133aac86..58063b43 100644 --- a/latest/api/com/typesafe/config/ConfigIncluderFile.html +++ b/latest/api/com/typesafe/config/ConfigIncluderFile.html @@ -2,12 +2,12 @@ - + ConfigIncluderFile - + diff --git a/latest/api/com/typesafe/config/ConfigIncluderURL.html b/latest/api/com/typesafe/config/ConfigIncluderURL.html index d0e4b7af..4c0b56aa 100644 --- a/latest/api/com/typesafe/config/ConfigIncluderURL.html +++ b/latest/api/com/typesafe/config/ConfigIncluderURL.html @@ -2,12 +2,12 @@ - + ConfigIncluderURL - + diff --git a/latest/api/com/typesafe/config/ConfigList.html b/latest/api/com/typesafe/config/ConfigList.html index 8b5958f4..c6841fe7 100644 --- a/latest/api/com/typesafe/config/ConfigList.html +++ b/latest/api/com/typesafe/config/ConfigList.html @@ -2,12 +2,12 @@ - + ConfigList - + diff --git a/latest/api/com/typesafe/config/ConfigMergeable.html b/latest/api/com/typesafe/config/ConfigMergeable.html index 1f25f10c..7cefd65d 100644 --- a/latest/api/com/typesafe/config/ConfigMergeable.html +++ b/latest/api/com/typesafe/config/ConfigMergeable.html @@ -2,12 +2,12 @@ - + ConfigMergeable - + diff --git a/latest/api/com/typesafe/config/ConfigObject.html b/latest/api/com/typesafe/config/ConfigObject.html index 759d9cc7..f1f95d58 100644 --- a/latest/api/com/typesafe/config/ConfigObject.html +++ b/latest/api/com/typesafe/config/ConfigObject.html @@ -2,12 +2,12 @@ - + ConfigObject - + diff --git a/latest/api/com/typesafe/config/ConfigOrigin.html b/latest/api/com/typesafe/config/ConfigOrigin.html index 4530add5..f8800bd5 100644 --- a/latest/api/com/typesafe/config/ConfigOrigin.html +++ b/latest/api/com/typesafe/config/ConfigOrigin.html @@ -2,12 +2,12 @@ - + ConfigOrigin - + diff --git a/latest/api/com/typesafe/config/ConfigParseOptions.html b/latest/api/com/typesafe/config/ConfigParseOptions.html index 791caebf..3ad21c3b 100644 --- a/latest/api/com/typesafe/config/ConfigParseOptions.html +++ b/latest/api/com/typesafe/config/ConfigParseOptions.html @@ -2,12 +2,12 @@ - + ConfigParseOptions - + diff --git a/latest/api/com/typesafe/config/ConfigParseable.html b/latest/api/com/typesafe/config/ConfigParseable.html index 38082765..51ba6d7c 100644 --- a/latest/api/com/typesafe/config/ConfigParseable.html +++ b/latest/api/com/typesafe/config/ConfigParseable.html @@ -2,12 +2,12 @@ - + ConfigParseable - + diff --git a/latest/api/com/typesafe/config/ConfigRenderOptions.html b/latest/api/com/typesafe/config/ConfigRenderOptions.html index 83454429..7f7aa4ac 100644 --- a/latest/api/com/typesafe/config/ConfigRenderOptions.html +++ b/latest/api/com/typesafe/config/ConfigRenderOptions.html @@ -2,12 +2,12 @@ - + ConfigRenderOptions - + @@ -161,6 +161,14 @@ Class ConfigRenderOptions  boolean +getJson() + +
+          Returns whether the options enable JSON. + + + + boolean getOriginComments()
@@ -185,11 +193,27 @@ Class ConfigRenderOptions  ConfigRenderOptions +setJson(boolean value) + +
+          Returns options with JSON toggled. + + + + ConfigRenderOptions setOriginComments(boolean value)
          Returns options with origin comments toggled. + + + String +toString() + +
+            +   @@ -197,7 +221,7 @@ Class ConfigRenderOptions - +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  @@ -284,7 +308,7 @@ public ConfigValue.origin() of that setting's value. For example these comments might tell you which file a setting comes from. - +

setOriginComments() controls only these autogenerated "origin of this setting" comments, to toggle regular comments use @@ -341,6 +365,53 @@ public boolean getFormatted()

Returns:
true if comments should be rendered
+
+ +

+setJson

+
+public ConfigRenderOptions setJson(boolean value)
+
+
Returns options with JSON toggled. JSON means that HOCON extensions + (omitting commas, quotes for example) won't be used. However, whether to + use comments is controlled by the separate setComments(boolean) + and setOriginComments(boolean) options. So if you enable + comments you will get invalid JSON despite setting this to true. +

+

+
Parameters:
value - true to include non-JSON extensions in the render +
Returns:
options with requested setting for JSON
+
+
+
+ +

+getJson

+
+public boolean getJson()
+
+
Returns whether the options enable JSON. This method is mostly used by + the config lib internally, not by applications. +

+

+ +
Returns:
true if only JSON should be rendered
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+

diff --git a/latest/api/com/typesafe/config/ConfigResolveOptions.html b/latest/api/com/typesafe/config/ConfigResolveOptions.html index 54114b47..104f4b06 100644 --- a/latest/api/com/typesafe/config/ConfigResolveOptions.html +++ b/latest/api/com/typesafe/config/ConfigResolveOptions.html @@ -2,12 +2,12 @@ - + ConfigResolveOptions - + diff --git a/latest/api/com/typesafe/config/ConfigSyntax.html b/latest/api/com/typesafe/config/ConfigSyntax.html index e84c492a..3d183f88 100644 --- a/latest/api/com/typesafe/config/ConfigSyntax.html +++ b/latest/api/com/typesafe/config/ConfigSyntax.html @@ -2,12 +2,12 @@ - + ConfigSyntax - + diff --git a/latest/api/com/typesafe/config/ConfigUtil.html b/latest/api/com/typesafe/config/ConfigUtil.html index ec3764ce..7eaf962c 100644 --- a/latest/api/com/typesafe/config/ConfigUtil.html +++ b/latest/api/com/typesafe/config/ConfigUtil.html @@ -2,12 +2,12 @@ - + ConfigUtil - + diff --git a/latest/api/com/typesafe/config/ConfigValue.html b/latest/api/com/typesafe/config/ConfigValue.html index 063f6170..214e5666 100644 --- a/latest/api/com/typesafe/config/ConfigValue.html +++ b/latest/api/com/typesafe/config/ConfigValue.html @@ -2,12 +2,12 @@ - + ConfigValue - + diff --git a/latest/api/com/typesafe/config/ConfigValueFactory.html b/latest/api/com/typesafe/config/ConfigValueFactory.html index ad461818..c75e473e 100644 --- a/latest/api/com/typesafe/config/ConfigValueFactory.html +++ b/latest/api/com/typesafe/config/ConfigValueFactory.html @@ -2,12 +2,12 @@ - + ConfigValueFactory - + diff --git a/latest/api/com/typesafe/config/ConfigValueType.html b/latest/api/com/typesafe/config/ConfigValueType.html index 7cd0e106..ef64ec64 100644 --- a/latest/api/com/typesafe/config/ConfigValueType.html +++ b/latest/api/com/typesafe/config/ConfigValueType.html @@ -2,12 +2,12 @@ - + ConfigValueType - + diff --git a/latest/api/com/typesafe/config/package-frame.html b/latest/api/com/typesafe/config/package-frame.html index 291b461c..f9332159 100644 --- a/latest/api/com/typesafe/config/package-frame.html +++ b/latest/api/com/typesafe/config/package-frame.html @@ -2,12 +2,12 @@ - + com.typesafe.config - + diff --git a/latest/api/com/typesafe/config/package-summary.html b/latest/api/com/typesafe/config/package-summary.html index 054e55d7..474a4b66 100644 --- a/latest/api/com/typesafe/config/package-summary.html +++ b/latest/api/com/typesafe/config/package-summary.html @@ -2,12 +2,12 @@ - + com.typesafe.config - + diff --git a/latest/api/com/typesafe/config/package-tree.html b/latest/api/com/typesafe/config/package-tree.html index 60da9046..6406d5b1 100644 --- a/latest/api/com/typesafe/config/package-tree.html +++ b/latest/api/com/typesafe/config/package-tree.html @@ -2,12 +2,12 @@ - + com.typesafe.config Class Hierarchy - + @@ -91,7 +91,8 @@ Class Hierarchy